Explorar o código

[Config] Missing type argument passed to loader.

In FileLoader the $type is not passed to the child loader.
Benjamin Eberlei %!s(int64=12) %!d(string=hai) anos
pai
achega
b3cf36af9e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Symfony/Component/Config/Loader/FileLoader.php

+ 1 - 1
src/Symfony/Component/Config/Loader/FileLoader.php

@@ -72,7 +72,7 @@ abstract class FileLoader extends Loader
             }
             self::$loading[$resource] = true;
 
-            $ret = $loader->load($resource);
+            $ret = $loader->load($resource, $type);
 
             unset(self::$loading[$resource]);