diff --git a/src/Symfony/Components/DependencyInjection/Container.php b/src/Symfony/Components/DependencyInjection/Container.php index 28f8e03a70..7840ba04cb 100644 --- a/src/Symfony/Components/DependencyInjection/Container.php +++ b/src/Symfony/Components/DependencyInjection/Container.php @@ -333,7 +333,7 @@ class Container implements ContainerInterface, \ArrayAccess * * @return mixed * - * @throws \RuntimeException When calling to an undefined method + * @throws \BadMethodCallException When calling to an undefined method */ public function __call($method, $arguments) {