Passed
Push — master ( f903e8...3f1e46 )
by Iman
04:30
created
src/CBCoreModule/Search.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
      */
59 59
     private function limitRows($data)
60 60
     {
61
-        $num = (int)$data['limit'] ?: 10;
61
+        $num = (int) $data['limit'] ?: 10;
62 62
         $this->rows->take($num);
63 63
     }
64 64
 
Please login to merge, or discard this patch.
src/controllers/ApiController/ValidationRules.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
             $format_validation[] = $this->existOrUnique($config, $type);
28 28
         } elseif (in_array($type, ['date_format', 'digits_between', 'in', 'mimes', 'min', 'max', 'not_in'])) {
29 29
             $format_validation[] = $type.':'.$config;
30
-        } elseif (! in_array($type, $typeExcept)) {
30
+        } elseif (!in_array($type, $typeExcept)) {
31 31
             $format_validation[] = $type;
32 32
         }
33 33
 
Please login to merge, or discard this patch.