Export to GitHub

php-ews - issue #5

Strict warning: Declaration of NTLMSoapClient::__doRequest() should be compatible with that of SoapClient::__doRequest()


Posted on Apr 23, 2010 by Happy Camel

When using the library, and PHP's error_reporting includes E_STRICT:

Declaration of NTLMSoapClient::__doRequest() should be compatible with that of SoapClient::__doRequest()

Solution: the last parameter, $one_way, should have a default value of 0:

public function __doRequest($request, $location, $action, $version, $one_way = 0) {

Comment #1

Posted on Apr 23, 2010 by Quick Kangaroo

(No comment was entered for this change.)

Comment #2

Posted on Dec 12, 2010 by Quick Kangaroo

This has been resolved in commit 1230ff58e1.

Comment #3

Posted on Feb 14, 2012 by Quick Kangaroo

This issue has been moved to GitHub https://github.com/jamesiarmes/php-ews/issues/5

Comment #4

Posted on Sep 12, 2012 by Happy Wombat

Hello there, I changed to $one_way=0, still i have this strict standard error, would you please tell me what should i do more?

Strict Standards: Declaration of IEnergySoapClient::__soapCall() should be compatible with that of SoapClient::__soapCall() in C:\xampp\htdocs\IESoap\IEnergySoapClient.class.php on line 45

Status: MovedToGitHub

Labels:
Type-Defect Priority-Medium