@@ -14,7 +14,7 @@ |
||
14 | 14 | use GuzzleHttp\Client as HttpClient; |
15 | 15 | use GuzzleHttp\Exception\RequestException; |
16 | 16 | |
17 | -if (! defined('CURL_HTTP_VERSION_2_0')) { |
|
17 | +if ( ! defined('CURL_HTTP_VERSION_2_0')) { |
|
18 | 18 | define('CURL_HTTP_VERSION_2_0', 3); |
19 | 19 | } |
20 | 20 |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | $payloadBody['alert'] = $payloadBody['alert']->getAlertBody(); |
104 | 104 | } |
105 | 105 | |
106 | - if (! empty($this->customData)) { |
|
106 | + if ( ! empty($this->customData)) { |
|
107 | 107 | $payloadBody = array_merge($payloadBody, $this->customData); |
108 | 108 | } |
109 | 109 | |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | */ |
138 | 138 | public function setAlert($alert) |
139 | 139 | { |
140 | - if (! is_string($alert) && ! $alert instanceof MessageAlert) { |
|
140 | + if ( ! is_string($alert) && ! $alert instanceof MessageAlert) { |
|
141 | 141 | throw new \InvalidArgumentException( |
142 | 142 | sprintf('Messages alert must be either string or instance of MessageAlert. Instance of "%s" provided', |
143 | 143 | gettype($alert)) |