Completed
Push — master ( 74e291...f48cd5 )
by Aivis
12s
created
src/Understand/UnderstandLaravel5/UnderstandLaravel5ServiceProvider.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -228,8 +228,7 @@  discard block
 block discarded – undo
228 228
             {
229 229
                 $this->handleEvent($level, $message, $context);
230 230
             });
231
-        }
232
-        else
231
+        } else
233 232
         {
234 233
             // starting from L5.4 MessageLogged event class was introduced
235 234
             // https://github.com/laravel/framework/commit/57c82d095c356a0fe0f9381536afec768cdcc072
@@ -256,8 +255,7 @@  discard block
 block discarded – undo
256 255
         if ($message instanceof Exceptions\HandlerException)
257 256
         {
258 257
             return;
259
-        }
260
-        else if ($message instanceof \Exception)
258
+        } else if ($message instanceof \Exception)
261 259
         {
262 260
             $log = $this->app['understand.exception-encoder']->exceptionToArray($message);
263 261
             $log['tags'] = ['exception_log'];
@@ -267,8 +265,7 @@  discard block
 block discarded – undo
267 265
         {
268 266
             $log['message'] = $message;
269 267
             $log['tags'] = ['laravel_log'];
270
-        }
271
-        else
268
+        } else
272 269
         {
273 270
             $log = (array)$message;
274 271
             $log['tags'] = ['laravel_log'];
Please login to merge, or discard this patch.