diff --git a/Error/ErrorHandler.php b/Error/ErrorHandler.php index b145ea973..a5d504237 100644 --- a/Error/ErrorHandler.php +++ b/Error/ErrorHandler.php @@ -164,9 +164,9 @@ public function handleErrors(ExecutionResult $executionResult, $throwRawExceptio * * @param \Exception $rawException * - * @return \Exception + * @return \Exception|\Error */ - protected function convertException(\Exception $rawException = null) + protected function convertException($rawException = null) { if (null === $rawException) { return;