diff --git a/UPGRADE-3.0.md b/UPGRADE-3.0.md index 731582385a8cf..2c095e58eb748 100644 --- a/UPGRADE-3.0.md +++ b/UPGRADE-3.0.md @@ -88,10 +88,6 @@ UPGRADE FROM 2.x to 3.0 $table->render(); ``` -* Parameters of `renderException()` method of the - `Symfony\Component\Console\Application` are type hinted. - You must add the type hint to your implementations. - ### DependencyInjection * The method `remove` was added to `Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface`. diff --git a/src/Symfony/Component/Console/Application.php b/src/Symfony/Component/Console/Application.php index bb99ebf38c143..f8c4bdf84edbf 100644 --- a/src/Symfony/Component/Console/Application.php +++ b/src/Symfony/Component/Console/Application.php @@ -616,7 +616,7 @@ public static function getAbbreviations($names) * @param \Exception $e An exception instance * @param OutputInterface $output An OutputInterface instance */ - public function renderException(\Exception $e, OutputInterface $output) + public function renderException($e, $output) { do { $title = sprintf(' [%s] ', get_class($e));