Passed
Pull Request — master (#120)
by Zing
10:27
created
src/Filter.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
             return filter_var($value, FILTER_VALIDATE_INT);
106 106
         }
107 107
 
108
-        if ($cast === CastType::ARRAY) {
108
+        if ($cast === CastType::array) {
109 109
             return explode(',', $value);
110 110
         }
111 111
 
Please login to merge, or discard this patch.
src/Enums/CastType.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     /**
20 20
      * @var string
21 21
      */
22
-    public const ARRAY = 'array';
22
+    public const array = 'array';
23 23
 
24 24
     /**
25 25
      * @var string
Please login to merge, or discard this patch.