Completed
Push — feature/php7 ( c1002a...fcc6e8 )
by Victor
09:49
created
Type/StringType.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
                 }
58 58
 
59 59
                 break;
60
-            case Type::ARRAY:
60
+            case Type::array:
61 61
                 if ($this->contains(',')) {
62 62
                     return $this->explode(',')->toArray();
63 63
                 }
Please login to merge, or discard this patch.
Type/Collection.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,12 +28,12 @@
 block discarded – undo
28 28
      *
29 29
      * @return string|array|int
30 30
      */
31
-    public function __invoke(int $toType = Type::ARRAY)
31
+    public function __invoke(int $toType = Type::array)
32 32
     {
33 33
         switch ($toType) {
34 34
             case Type::INT:
35 35
                 return $this->count();
36
-            case Type::ARRAY:
36
+            case Type::array:
37 37
                 return $this->toArray();
38 38
             case Type::STRING:
39 39
                 try {
Please login to merge, or discard this patch.