alexlcdee пре 8 година
родитељ
комит
eabdc0b2d1
1 измењених фајлова са 1 додато и 1 уклоњено
  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));
         }
     }