Completed
Push — master ( 07376c...713fec )
by Ventimiglia
03:34
created
src/Firebase.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -114,12 +114,12 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
         }
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
         
187 187
             if ($opt == 'orderBy') {
188 188
                 
189
-                $options['orderBy']= '"' . $optVal . '"';
189
+                $options['orderBy'] = '"' . $optVal . '"';
190 190
         
191 191
             }
192 192
         }
@@ -376,7 +376,7 @@  discard block
 block discarded – undo
376 376
      */
377 377
     private function writeEventLogs($logger, $eventData, $event, $path)
378 378
     {
379
-        if (! empty($eventData) || null != $eventData) {
379
+        if (!empty($eventData) || null != $eventData) {
380 380
             $logger->addDebug("path: {$path}", [
381 381
                 'DATA' => $eventData,
382 382
                 'EVENT TYPE' => $event->getEventType()
Please login to merge, or discard this patch.