jasonramsden / php-ews

Automatically exported from code.google.com/p/php-ews
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

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

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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) {

Original issue reported on code.google.com by kristof.coomans on 23 Apr 2010 at 11:46

GoogleCodeExporter commented 9 years ago

Original comment by JamesIArmes@gmail.com on 23 Apr 2010 at 11:52

GoogleCodeExporter commented 9 years ago
This has been resolved in commit 1230ff58e1.

Original comment by JamesIArmes@gmail.com on 12 Dec 2010 at 8:18

GoogleCodeExporter commented 9 years ago
This issue has been moved to GitHub 
https://github.com/jamesiarmes/php-ews/issues/5

Original comment by JamesIArmes@gmail.com on 14 Feb 2012 at 2:25

GoogleCodeExporter commented 9 years ago
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

Original comment by rof...@gmail.com on 12 Sep 2012 at 10:30