diff --git a/src/Thybag/Auth/SoapClientAuth.php b/src/Thybag/Auth/SoapClientAuth.php index 4f384f5..ba33e47 100644 --- a/src/Thybag/Auth/SoapClientAuth.php +++ b/src/Thybag/Auth/SoapClientAuth.php @@ -64,7 +64,7 @@ public function __construct($wsdl, $options = NULL) { \Thybag\Auth\StreamWrapperHttpAuth::$Password = $this->Password; } - parent::SoapClient($wsdl, ($options ? $options : array())); + parent::__construct($wsdl, ($options ? $options : array())); stream_wrapper_restore('http'); if (in_array("https", $wrappers)) stream_wrapper_restore('https');