Explorar o código

Update ServiceContainer.php

Denis K %!s(int64=8) %!d(string=hai) anos
pai
achega
78b012d9a5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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');