Completed
Push — master ( 115d7e...79e149 )
by Aivis
13s queued 11s
created
src/Understand/UnderstandLaravel5/DataCollector.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
     }
56 56
 
57 57
     /**
58
-     * @param $key
58
+     * @param string $key
59 59
      * @return mixed
60 60
      */
61 61
     public function getByKey($key)
Please login to merge, or discard this patch.
src/Understand/UnderstandLaravel5/UnderstandLaravel5ServiceProvider.php 1 patch
Braces   +4 added lines, -8 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
@@ -266,8 +265,7 @@  discard block
 block discarded – undo
266 265
                     $this->app['understand.tokenProvider']->generate();
267 266
                     $this->app['understand.dataCollector']->reset();
268 267
                 });
269
-            }
270
-            else
268
+            } else
271 269
             {
272 270
                 $this->app['events']->listen('Illuminate\Queue\Events\JobProcessing', function()
273 271
                 {
@@ -297,8 +295,7 @@  discard block
 block discarded – undo
297 295
                     'time' => $time,
298 296
                 ]);
299 297
             });
300
-        }
301
-        else
298
+        } else
302 299
         {
303 300
             // https://laravel.com/api/5.3/Illuminate/Database/Events/QueryExecuted.html
304 301
             $this->app['events']->listen('Illuminate\Database\Events\QueryExecuted', function($event)
@@ -340,8 +337,7 @@  discard block
 block discarded – undo
340 337
             unset($context['exception']);
341 338
 
342 339
             $this->app['understand.exceptionLogger']->logError($level, $exception, $context);
343
-        }
344
-        else
340
+        } else
345 341
         {
346 342
             $this->app['understand.exceptionLogger']->logError($level, $message, $context);
347 343
         }
Please login to merge, or discard this patch.