Browse Source

Update ServiceContainer.php

Relevant issue in parent repo: 

#216
Declaration of JonnyW\..\ServiceContainer::load() should be compatible with Symfony\..\Container::load($file)
Denis K 8 years ago
parent
commit
03f4df86ee
1 changed files with 1 additions and 1 deletions
  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');