@@ -39,15 +39,15 @@ discard block |
||
| 39 | 39 | * @param NULL|array $xmlOptions array of optoins ot pass to xmlrpc2 client |
| 40 | 40 | */ |
| 41 | 41 | public function __construct($login = NULL, $password = NULL, $client = NULL, $demo = FALSE, $xmlOptions = NULL) { |
| 42 | - if (null === $login && defined('PARALLELS_KA_LOGIN')) |
|
| 42 | + if (NULL === $login && defined('PARALLELS_KA_LOGIN')) |
|
| 43 | 43 | $this->login = constant('PARALLELS_KA_LOGIN'); |
| 44 | 44 | else |
| 45 | 45 | $this->login = $login; |
| 46 | - if (null === $password && defined('PARALLELS_KA_PASSWORD')) |
|
| 46 | + if (NULL === $password && defined('PARALLELS_KA_PASSWORD')) |
|
| 47 | 47 | $this->password = constant('PARALLELS_KA_PASSWORD'); |
| 48 | 48 | else |
| 49 | 49 | $this->password = $password; |
| 50 | - if (null !== $client) |
|
| 50 | + if (NULL !== $client) |
|
| 51 | 51 | $this->client = $client; |
| 52 | 52 | elseif (defined('PARALLELS_KA_CLIENT')) |
| 53 | 53 | $this->client = constant('PARALLELS_KA_CLIENT'); |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | $this->url = $this->defaultUrl; |
| 58 | 58 | else |
| 59 | 59 | $this->url = $demo; |
| 60 | - if (null !== $xmlOptions) |
|
| 60 | + if (NULL !== $xmlOptions) |
|
| 61 | 61 | $this->xmlOptions = $xmlOptions; |
| 62 | 62 | require_once 'XML/RPC2/Client.php'; |
| 63 | 63 | $this->xml = \XML_RPC2_Client::create($this->url, $this->xmlOptions); |