@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | */ |
40 | 40 | public $wsdl = 'https://netenberg.com/api/netenberg.wsdl'; |
41 | 41 | |
42 | - public $connected = false; |
|
42 | + public $connected = FALSE; |
|
43 | 43 | |
44 | 44 | /** |
45 | 45 | * the username to use for API access |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | * @return void |
93 | 93 | */ |
94 | 94 | public function connect() { |
95 | - if (null === $this->soapClient) { |
|
95 | + if (NULL === $this->soapClient) { |
|
96 | 96 | ini_set('soap.wsdl_cache_enabled', '0'); |
97 | 97 | ini_set('max_execution_time', 1000); |
98 | 98 | ini_set('default_socket_timeout', 1000); |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | } catch (\Exception $e) { |
106 | 106 | require_once (INCLUDE_ROOT.'/../vendor/detain/nusoap/lib/nusoap.php'); |
107 | 107 | $this->soapClient = new \nusoap_client($this->wsdl); |
108 | - $this->connected = true; |
|
108 | + $this->connected = TRUE; |
|
109 | 109 | } |
110 | 110 | } |
111 | 111 | } |