Completed
Push — master ( e5f63b...349d35 )
by Aivis
10s
created
src/Understand/UnderstandLaravel5/UnderstandLaravel5ServiceProvider.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -237,8 +237,7 @@  discard block
 block discarded – undo
237 237
             {
238 238
                 $this->handleEvent($level, $message, $context);
239 239
             });
240
-        }
241
-        else
240
+        } else
242 241
         {
243 242
             // starting from L5.4 MessageLogged event class was introduced
244 243
             // https://github.com/laravel/framework/commit/57c82d095c356a0fe0f9381536afec768cdcc072
@@ -268,8 +267,7 @@  discard block
 block discarded – undo
268 267
                     'time' => $time,
269 268
                 ]);
270 269
             });
271
-        }
272
-        else
270
+        } else
273 271
         {
274 272
             // https://laravel.com/api/5.3/Illuminate/Database/Events/QueryExecuted.html
275 273
             $this->app['events']->listen('Illuminate\Database\Events\QueryExecuted', function($event)
@@ -304,8 +302,7 @@  discard block
 block discarded – undo
304 302
             unset($context['exception']);
305 303
 
306 304
             $this->app['understand.exceptionLogger']->logError($level, $exception, $context);
307
-        }
308
-        else
305
+        } else
309 306
         {
310 307
             $this->app['understand.exceptionLogger']->logError($level, $message, $context);
311 308
         }
Please login to merge, or discard this patch.