diff --git a/src/Symfony/Bundle/FrameworkBundle/FrameworkBundle.php b/src/Symfony/Bundle/FrameworkBundle/FrameworkBundle.php index 41e7521e49..609689f86f 100644 --- a/src/Symfony/Bundle/FrameworkBundle/FrameworkBundle.php +++ b/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')) {