From e6cb7d866a17c05e17c273c62989c26e9dce4cf8 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Mon, 24 Jun 2019 16:34:46 +0400 Subject: [PATCH] Remove return type from ExceptionHandler::setFileLinkFormat --- src/Symfony/Component/Debug/ExceptionHandler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/Debug/ExceptionHandler.php b/src/Symfony/Component/Debug/ExceptionHandler.php index 39e1431d50..72c015d1b6 100644 --- a/src/Symfony/Component/Debug/ExceptionHandler.php +++ b/src/Symfony/Component/Debug/ExceptionHandler.php @@ -97,9 +97,9 @@ class ExceptionHandler * * @param string|FileLinkFormatter $fileLinkFormat The format for links to source files * - * @return string The previous file link format + * @return string|FileLinkFormatter|null The previous file link format */ - public function setFileLinkFormat($fileLinkFormat): string + public function setFileLinkFormat($fileLinkFormat) { $old = $this->fileLinkFormat; $this->fileLinkFormat = $fileLinkFormat;