lakshmaji/plivo

Declaration of Response::toXML()

Closed this issue · 2 comments

Declaration of Response::toXML() should be compatible with Element::toXML($header = false)

lines 760-768 (vendor/lakshmajim/plivo/src/Plivopackage/plivo.php)

    function __construct() {
        parent::__construct(NULL);
    }

    public function toXML() {
        $xml = Element::toXML($header=TRUE);
        return $xml;
    }

I can fix the error this method:

    public function toXML($header=TRUE) {
        $xml = parent::toXML($header);
        return $xml;
    }

Hi @halenharper ,
Thank you for pointing out that issue , which was a blocker some times
Currently working on this and will be fixed in next release
Once Again Thank You

Hi @halenharper
This issue was resolved now. Its was a dependency issue.