Passed
Push — master ( 685e2a...9f4f72 )
by Iman
03:13
created
src/Plugins/Reactions/Abort.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 
17 17
     public static function abortIt($args)
18 18
     {
19
-        return function () use ($args) {
19
+        return function() use ($args) {
20 20
             app()->abort(...$args);
21 21
         };
22 22
     }
Please login to merge, or discard this patch.
src/Plugins/Reactions/WeThrowException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 
25 25
     public static function exception(array $e)
26 26
     {
27
-        return function () use ($e) {
27
+        return function() use ($e) {
28 28
             $exClass = $e[0];
29 29
             $message = $e[1];
30 30
 
Please login to merge, or discard this patch.
src/Plugins/Reactions/Response.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 
36 36
     private static function sendResponse(array $methodCalls, $func)
37 37
     {
38
-        return function () use ($func, $methodCalls) {
38
+        return function() use ($func, $methodCalls) {
39 39
             $respObj = $func();
40 40
             foreach ($methodCalls as $call) {
41 41
                 [$method, $args] = $call;
Please login to merge, or discard this patch.
src/Plugins/Reactions/WeRespondFrom.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 
18 18
     public static function respondFrom($method)
19 19
     {
20
-        return function () use ($method) {
20
+        return function() use ($method) {
21 21
             throw new HttpResponseException(app()->call(...$method));
22 22
         };
23 23
     }
Please login to merge, or discard this patch.
src/Plugins/Reactions/Nothing.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 {
7 7
     public static function nothing()
8 8
     {
9
-        return function () {
9
+        return function() {
10 10
         };
11 11
     }
12 12
 }
13 13
\ No newline at end of file
Please login to merge, or discard this patch.
src/Reactions/Validator.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     public function otherwise()
21 21
     {
22 22
         $rules = $this->validationData;
23
-        $modifier = $this->modifier ?: function ($args) {
23
+        $modifier = $this->modifier ?: function($args) {
24 24
             return $args;
25 25
         };
26 26
 
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 
39 39
     public function validatorCallback($modifier, $rules)
40 40
     {
41
-        $validator = function () use ($modifier, $rules) {
41
+        $validator = function() use ($modifier, $rules) {
42 42
             $this->makeValidator($modifier, $rules)->validate();
43 43
         };
44 44
 
@@ -47,8 +47,8 @@  discard block
 block discarded – undo
47 47
 
48 48
     public function validationPassesCallback($modifier, $rules)
49 49
     {
50
-        $validator = function () use ($modifier, $rules) {
51
-            return ! $this->makeValidator($modifier, $rules)->fails();
50
+        $validator = function() use ($modifier, $rules) {
51
+            return !$this->makeValidator($modifier, $rules)->fails();
52 52
         };
53 53
 
54 54
         return $this->wrapForIgnore($validator);
@@ -71,9 +71,9 @@  discard block
 block discarded – undo
71 71
             $chain = app('heyman.chain');
72 72
             $condition = $chain->get('condition');
73 73
 
74
-            if (! $condition) {
74
+            if (!$condition) {
75 75
                 $data = $this->validationData;
76
-                $modifier = $this->modifier ?: function ($args) {
76
+                $modifier = $this->modifier ?: function($args) {
77 77
                     return $args;
78 78
                 };
79 79
 
Please login to merge, or discard this patch.