Completed
Push — feature/php7 ( 153e96...c1002a )
by Victor
08:45
created
Type/Collection.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,13 +32,13 @@
 block discarded – undo
32 32
      *
33 33
      * @return string|array|int
34 34
      */
35
-    public function __invoke(int $toType = Type::ARRAY)
35
+    public function __invoke(int $toType = Type::array)
36 36
     {
37 37
         if ($toType === Type::INT) {
38 38
             return $this->count();
39 39
         }
40 40
 
41
-        if ($toType === Type::ARRAY) {
41
+        if ($toType === Type::array) {
42 42
             return $this->toArray();
43 43
         }
44 44
 
Please login to merge, or discard this patch.