@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | |
11 | 11 | public const BOOLEAN = 'boolean'; |
12 | 12 | |
13 | - public const ARRAY = 'array'; |
|
13 | + public const array = 'array'; |
|
14 | 14 | |
15 | 15 | public const INTEGER = 'integer'; |
16 | 16 | |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | /** |
28 | 28 | * @deprecated use CastType::ARRAY instead |
29 | 29 | */ |
30 | - public const CAST_ARRAY = self::ARRAY; |
|
30 | + public const CAST_ARRAY = self::array; |
|
31 | 31 | |
32 | 32 | /** |
33 | 33 | * @deprecated use CastType::INTEGER instead |
@@ -105,7 +105,7 @@ |
||
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 |