Passed
Pull Request — master (#117)
by Iman
11:21 queued 03:04
created
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/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.
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
 }
Please login to merge, or discard this patch.