alexlcdee %!s(int64=8) %!d(string=hai) anos
pai
achega
eabdc0b2d1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Registry.php

+ 1 - 1
src/Registry.php

@@ -17,7 +17,7 @@ class Registry implements RegistryInterface
         }
         static::$container = new CategoriesContainer();
         foreach ($typesMap as $category => $type) {
-            static::$container->set($category, $type);
+            static::$container->set($category, new ItemsContainer($type));
         }
     }