Completed
Push — master ( 0df42c...ab08ca )
by Iman
10:11
created
src/WatchingStrategies/BasicEventManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,8 +36,8 @@
 block discarded – undo
36 36
      */
37 37
     private function wrapForIgnorance(callable $callback): \Closure
38 38
     {
39
-        return function () use ($callback) {
40
-            if (! config('heyman_ignore_event', false)) {
39
+        return function() use ($callback) {
40
+            if (!config('heyman_ignore_event', false)) {
41 41
                 $callback();
42 42
             }
43 43
         };
Please login to merge, or discard this patch.
src/WatchingStrategies/RouterEventManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      */
32 32
     private function wrapCallbacksForIgnore(array $callbacks): array
33 33
     {
34
-        return array_map(function ($callback) {
34
+        return array_map(function($callback) {
35 35
             return $this->wrapForIgnorance($callback);
36 36
         }, $callbacks);
37 37
     }
@@ -62,8 +62,8 @@  discard block
 block discarded – undo
62 62
 
63 63
     private function wrapForIgnorance(callable $callback): callable
64 64
     {
65
-        return function () use ($callback) {
66
-            if (! config('heyman_ignore_route', false)) {
65
+        return function() use ($callback) {
66
+            if (!config('heyman_ignore_route', false)) {
67 67
                 $callback();
68 68
             }
69 69
         };
Please login to merge, or discard this patch.
src/WatchingStrategies/EloquentEventsManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,8 @@
 block discarded – undo
42 42
      */
43 43
     private function wrapForIgnorance(callable $callback): \Closure
44 44
     {
45
-        return function (...$args) use ($callback) {
46
-            if (! config('heyman_ignore_eloquent', false)) {
45
+        return function(...$args) use ($callback) {
46
+            if (!config('heyman_ignore_eloquent', false)) {
47 47
                 $callback(...$args);
48 48
             }
49 49
         };
Please login to merge, or discard this patch.
src/WatchingStrategies/ViewEventManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,8 +32,8 @@
 block discarded – undo
32 32
 
33 33
     private function wrapForIgnorance(callable $callback): callable
34 34
     {
35
-        return function (...$args) use ($callback) {
36
-            if (! config('heyman_ignore_view', false)) {
35
+        return function(...$args) use ($callback) {
36
+            if (!config('heyman_ignore_view', false)) {
37 37
                 $callback(...$args);
38 38
             }
39 39
         };
Please login to merge, or discard this patch.