Преглед на файлове

[FrameworkBundle] finished code migration after the removal of the ArrayAccess interface for the Container

Fabien Potencier преди 14 години
родител
ревизия
f21c58c56b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/Symfony/Bundle/FrameworkBundle/FrameworkBundle.php

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/FrameworkBundle.php

@@ -27,7 +27,7 @@ class FrameworkBundle extends Bundle
     public function boot()
     {
         if ($this->container->has('error_handler')) {
-            $this->container['error_handler'];
+            $this->container->get('error_handler');
         }
 
         if ($this->container->hasParameter('csrf_secret')) {