Explorar o código

Update ServiceContainer.php

Relevant issue in parent repo: 

#216
Declaration of JonnyW\..\ServiceContainer::load() should be compatible with Symfony\..\Container::load($file)
Denis K %!s(int64=8) %!d(string=hai) anos
pai
achega
03f4df86ee
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()
+    public function load($file)
     {
         $loader = new YamlFileLoader($this, new FileLocator(__DIR__.'/../Resources/config'));
         $loader->load('config.yml');