Passed
Push — master ( 1ce7c6...fd12e9 )
by Alexey
02:00
created
src/validators/one_of.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     {
22 22
         foreach ($attributes as $attribute) {
23 23
             if (!in_array($BaseObject->$attribute, $options, true)) {
24
-                $BaseObject->addError($attribute, $attribute . ' must be element of [' . implode(', ', $options) . ']');
24
+                $BaseObject->addError($attribute, $attribute.' must be element of ['.implode(', ', $options).']');
25 25
             }
26 26
         }
27 27
     }
Please login to merge, or discard this patch.