Completed
Push — master ( dd9385...7bb1ab )
by Alexpts
04:21
created
src/PTS/Validator/Validator.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
 
91 91
     public function validateIfExists(array $data, array $rules): array
92 92
     {
93
-       return $this->validate($data, $rules, true);
93
+        return $this->validate($data, $rules, true);
94 94
     }
95 95
 
96 96
     /**
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
             }
82 82
 
83 83
             if (!$validateIfExist) {
84
-                $errors[$name] = 'Value is not exists or bad: ' . $name;
84
+                $errors[$name] = 'Value is not exists or bad: '.$name;
85 85
             }
86 86
         }
87 87
 
@@ -138,6 +138,6 @@  discard block
 block discarded – undo
138 138
         $params = explode($this->paramDelimiter, $rule);
139 139
         $handlerAlias = array_shift($params);
140 140
 
141
-        return [$handlerAlias, (array)$params];
141
+        return [$handlerAlias, (array) $params];
142 142
     }
143 143
 }
Please login to merge, or discard this patch.