Completed
Push — master ( 29d79e...8aac64 )
by Iman
09:16
created
src/Switching/HeyManSwitcher.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,8 +6,8 @@
 block discarded – undo
6 6
 {
7 7
     public function wrapForIgnorance(callable $callback, $key): \Closure
8 8
     {
9
-        return function (...$args) use ($callback, $key) {
10
-            if (!config('heyman_ignore_'.$key, false)) {
9
+        return function(...$args) use ($callback, $key) {
10
+            if (!config('heyman_ignore_' . $key, false)) {
11 11
                 $callback(...$args);
12 12
             }
13 13
         };
Please login to merge, or discard this patch.
src/Switching/Consider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 
32 32
     public function allChecks()
33 33
     {
34
-        foreach($this->methods() as $method => $type){
34
+        foreach ($this->methods() as $method => $type) {
35 35
             $this->$method();
36 36
         }
37 37
     }
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      */
43 43
     private function turn($key, callable $closure = null)
44 44
     {
45
-        $key = 'heyman_ignore_'.$key;
45
+        $key = 'heyman_ignore_' . $key;
46 46
 
47 47
         $current = config($key);
48 48
         $this->changeMode($key);
Please login to merge, or discard this patch.