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));
         }
     }