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