@@ -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 |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | * @return void |
| 94 | 94 | */ |
| 95 | 95 | public function connect() { |
| 96 | - if (null === $this->soapClient) { |
|
| 96 | + if (NULL === $this->soapClient) { |
|
| 97 | 97 | ini_set('soap.wsdl_cache_enabled', '0'); |
| 98 | 98 | ini_set('max_execution_time', 1000); |
| 99 | 99 | ini_set('default_socket_timeout', 1000); |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | } catch (\Exception $e) { |
| 109 | 109 | require_once INCLUDE_ROOT.'/../vendor/detain/nusoap/lib/nusoap.php'; |
| 110 | 110 | $this->soapClient = new \nusoap_client($this->wsdl); |
| 111 | - $this->connected = true; |
|
| 111 | + $this->connected = TRUE; |
|
| 112 | 112 | } |
| 113 | 113 | } |
| 114 | 114 | } |