Przeglądaj źródła

Update ServiceContainer.php

Denis K 8 lat temu
rodzic
commit
78b012d9a5
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/DependencyInjection/ServiceContainer.php

+ 1 - 1
src/DependencyInjection/ServiceContainer.php

@@ -45,7 +45,7 @@ class ServiceContainer extends ContainerBuilder
     /**
      * Load service container.
      */
-    public function load($file)
+    public function load($file = null)
     {
         $loader = new YamlFileLoader($this, new FileLocator(__DIR__.'/../Resources/config'));
         $loader->load('config.yml');