alexlcdee 8 năm trước cách đây
mục cha
commit
eabdc0b2d1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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));
         }
     }