Test Setup Failed
Push — master ( aaa4fd...a63cf8 )
by Nurlan
02:08
created
src/Validation/Validators/IsPositiveInteger.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,8 +21,9 @@
 block discarded – undo
21 21
      */
22 22
     public function check($value = null): bool
23 23
     {
24
-        if (!parent::check($value))
25
-            return false;
24
+        if (!parent::check($value)) {
25
+                    return false;
26
+        }
26 27
 
27 28
         return $value > 0;
28 29
     }
Please login to merge, or discard this patch.