@@ -114,12 +114,12 @@ discard block |
||
114 | 114 | $curlMessage = 'Extension CURL is not loaded or not installed.'; |
115 | 115 | |
116 | 116 | // check if auth is null |
117 | - if (! is_object($auth) || null == $auth) { |
|
117 | + if (!is_object($auth) || null == $auth) { |
|
118 | 118 | trigger_error($authMessage, E_USER_ERROR); |
119 | 119 | } |
120 | 120 | |
121 | 121 | // check if extension is installed |
122 | - if (! extension_loaded('curl')) { |
|
122 | + if (!extension_loaded('curl')) { |
|
123 | 123 | trigger_error($curlMessage, E_USER_ERROR); |
124 | 124 | } |
125 | 125 | } |
@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | $headers['Content-Type'] = 'application/json'; |
161 | 161 | |
162 | 162 | // check if header is an array |
163 | - if (! is_array($headers)) { |
|
163 | + if (!is_array($headers)) { |
|
164 | 164 | $str = "The guzzle client headers must be an array."; |
165 | 165 | throw new \Exception($str); |
166 | 166 | } |
@@ -389,7 +389,7 @@ discard block |
||
389 | 389 | */ |
390 | 390 | private function writeEventLogs($logger, $eventData, $event, $path) |
391 | 391 | { |
392 | - if (! empty($eventData) || null != $eventData) { |
|
392 | + if (!empty($eventData) || null != $eventData) { |
|
393 | 393 | $logger->addDebug("path: {$path}", [ |
394 | 394 | 'DATA' => $eventData, |
395 | 395 | 'EVENT TYPE' => $event->getEventType() |