Преглед изворни кода

Update ServiceContainer.php

Denis K пре 8 година
родитељ
комит
78b012d9a5
1 измењених фајлова са 1 додато и 1 уклоњено
  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');