@@ -38,15 +38,15 @@ discard block |
||
38 | 38 | * @param NULL|array $xmlOptions array of optoins ot pass to xmlrpc2 client |
39 | 39 | */ |
40 | 40 | public function __construct($login = NULL, $password = NULL, $client = NULL, $demo = FALSE, $xmlOptions = NULL) { |
41 | - if (null === $login && defined('PARALLELS_KA_LOGIN')) |
|
41 | + if (NULL === $login && defined('PARALLELS_KA_LOGIN')) |
|
42 | 42 | $this->login = constant('PARALLELS_KA_LOGIN'); |
43 | 43 | else |
44 | 44 | $this->login = $login; |
45 | - if (null === $password && defined('PARALLELS_KA_PASSWORD')) |
|
45 | + if (NULL === $password && defined('PARALLELS_KA_PASSWORD')) |
|
46 | 46 | $this->password = constant('PARALLELS_KA_PASSWORD'); |
47 | 47 | else |
48 | 48 | $this->password = $password; |
49 | - if (null !== $client) |
|
49 | + if (NULL !== $client) |
|
50 | 50 | $this->client = $client; |
51 | 51 | elseif (defined('PARALLELS_KA_CLIENT')) |
52 | 52 | $this->client = constant('PARALLELS_KA_CLIENT'); |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | $this->url = $this->defaultUrl; |
57 | 57 | else |
58 | 58 | $this->url = $demo; |
59 | - if (null !== $xmlOptions) |
|
59 | + if (NULL !== $xmlOptions) |
|
60 | 60 | $this->xmlOptions = $xmlOptions; |
61 | 61 | if (!isset($GLOBALS['HTTP_RAW_POST_DATA'])) |
62 | 62 | $GLOBALS['HTTP_RAW_POST_DATA'] = file_get_contents('php://input'); |