@@ -131,29 +131,30 @@ public function getSoapClientClassName($soapClientClassName = null)
131131 public static function getDefaultWsdlOptions ()
132132 {
133133 return array (
134- self ::WSDL_CLASSMAP => null ,
135- self ::WSDL_CACHE_WSDL => WSDL_CACHE_NONE ,
136- self ::WSDL_COMPRESSION => null ,
137- self ::WSDL_CONNECTION_TIMEOUT => null ,
138- self ::WSDL_ENCODING => null ,
139- self ::WSDL_EXCEPTIONS => true ,
140- self ::WSDL_FEATURES => SOAP_SINGLE_ELEMENT_ARRAYS | SOAP_USE_XSI_ARRAY_TYPE ,
141- self ::WSDL_LOGIN => null ,
142- self ::WSDL_PASSWORD => null ,
143- self ::WSDL_SOAP_VERSION => null ,
144- self ::WSDL_STREAM_CONTEXT => null ,
145- self ::WSDL_TRACE => true ,
146- self ::WSDL_TYPEMAP => null ,
147- self ::WSDL_URL => null ,
148- self ::WSDL_USER_AGENT => null ,
149- self ::WSDL_PROXY_HOST => null ,
150- self ::WSDL_PROXY_PORT => null ,
151- self ::WSDL_PROXY_LOGIN => null ,
152- self ::WSDL_PROXY_PASSWORD => null ,
153- self ::WSDL_LOCAL_CERT => null ,
154- self ::WSDL_PASSPHRASE => null ,
155- self ::WSDL_AUTHENTICATION => null ,
156- self ::WSDL_SSL_METHOD => null );
134+ self ::WSDL_CLASSMAP => null ,
135+ self ::WSDL_CACHE_WSDL => WSDL_CACHE_NONE ,
136+ self ::WSDL_COMPRESSION => null ,
137+ self ::WSDL_CONNECTION_TIMEOUT => null ,
138+ self ::WSDL_ENCODING => null ,
139+ self ::WSDL_EXCEPTIONS => true ,
140+ self ::WSDL_FEATURES => SOAP_SINGLE_ELEMENT_ARRAYS | SOAP_USE_XSI_ARRAY_TYPE ,
141+ self ::WSDL_LOGIN => null ,
142+ self ::WSDL_PASSWORD => null ,
143+ self ::WSDL_SOAP_VERSION => null ,
144+ self ::WSDL_STREAM_CONTEXT => null ,
145+ self ::WSDL_TRACE => true ,
146+ self ::WSDL_TYPEMAP => null ,
147+ self ::WSDL_URL => null ,
148+ self ::WSDL_USER_AGENT => null ,
149+ self ::WSDL_PROXY_HOST => null ,
150+ self ::WSDL_PROXY_PORT => null ,
151+ self ::WSDL_PROXY_LOGIN => null ,
152+ self ::WSDL_PROXY_PASSWORD => null ,
153+ self ::WSDL_LOCAL_CERT => null ,
154+ self ::WSDL_PASSPHRASE => null ,
155+ self ::WSDL_AUTHENTICATION => null ,
156+ self ::WSDL_SSL_METHOD => null ,
157+ );
157158 }
158159 /**
159160 * Allows to set the SoapClient location to call
@@ -410,23 +411,23 @@ private function setLastError($lastError)
410411 }
411412 /**
412413 * Method saving the last error returned by the SoapClient
413- * @param string $methoName the method called when the error occurred
414+ * @param string $methodName the method called when the error occurred
414415 * @param \SoapFault $soapFault l'objet de l'erreur
415416 * @return AbstractSoapClientBase
416417 */
417- public function saveLastError ($ methoName , \SoapFault $ soapFault )
418+ public function saveLastError ($ methodName , \SoapFault $ soapFault )
418419 {
419- $ this ->lastError [$ methoName ] = $ soapFault ;
420+ $ this ->lastError [$ methodName ] = $ soapFault ;
420421 return $ this ;
421422 }
422423 /**
423424 * Method getting the last error for a certain method
424- * @param string $methoName method name to get error from
425+ * @param string $methodName method name to get error from
425426 * @return \SoapFault|null
426427 */
427- public function getLastErrorForMethod ($ methoName )
428+ public function getLastErrorForMethod ($ methodName )
428429 {
429- return array_key_exists ($ methoName , $ this ->lastError ) ? $ this ->lastError [$ methoName ] : null ;
430+ return array_key_exists ($ methodName , $ this ->lastError ) ? $ this ->lastError [$ methodName ] : null ;
430431 }
431432 /**
432433 * Method returning current result from Soap call
0 commit comments