Passed
Push — master ( 99eb02...369f6b )
by Iman
02:44
created
src/HeyMan.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 
27 27
     public function checkPoint(string $pointName)
28 28
     {
29
-        event('heyman_checkpoint_'.$pointName);
29
+        event('heyman_checkpoint_' . $pointName);
30 30
     }
31 31
 
32 32
     public function aliasCondition(string $currentName, string $newName)
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      */
50 50
     private function writeDebugInfo($debugTrace)
51 51
     {
52
-        if (config('app.debug') && ! app()->environment('production')) {
52
+        if (config('app.debug') && !app()->environment('production')) {
53 53
             $info = array_only($debugTrace, ['file', 'line', 'args']);
54 54
             resolve('heyman.chain')->set('debugInfo', $info);
55 55
         }
Please login to merge, or discard this patch.
src/WatchingStrategies/Events/EventSituations.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     public function normalize($method, $name)
14 14
     {
15 15
         if ($method == 'whenYouReachCheckPoint') {
16
-            $name[0] = 'heyman_checkpoint_'.$name[0];
16
+            $name[0] = 'heyman_checkpoint_' . $name[0];
17 17
         }
18 18
 
19 19
         return [$name];
Please login to merge, or discard this patch.
src/WatchingStrategies/Views/ViewSituations.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function normalize($method, $params)
13 13
     {
14
-        array_walk($params, function ($view) {
14
+        array_walk($params, function($view) {
15 15
             $this->checkViewExists($view);
16 16
         });
17 17
 
Please login to merge, or discard this patch.