From 9c5c726147b782c4293a2d5c6e6e9ef58097bca4 Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Sun, 31 May 2020 13:17:42 +0200 Subject: [PATCH 1/2] Update ControllerTrait.php Second part of https://github.com/symfony/symfony/pull/36913 - see https://github.com/symfony/symfony/pull/36913#issuecomment-636428437 (Couldn't figure out how to include it in the same PR) --- .../Bundle/FrameworkBundle/Controller/ControllerTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php b/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php index 9d5640750af8..e55b5e058a2e 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php +++ b/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php @@ -187,7 +187,7 @@ protected function file($file, $fileName = null, $disposition = ResponseHeaderBa * Adds a flash message to the current session for type. * * @param string $type The type - * @param string $message The message + * @param mixed $message The message * * @throws \LogicException * From 78013a0af38933184920988e5926bf13f1d59d0c Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Thu, 4 Jun 2020 11:55:56 +0200 Subject: [PATCH 2/2] Update ControllerTrait.php Fixing https://fabbot.io/report/symfony/symfony/37021/9c5c726147b782c4293a2d5c6e6e9ef58097bca4 --- .../Bundle/FrameworkBundle/Controller/ControllerTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php b/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php index e55b5e058a2e..8858ca66c437 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php +++ b/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php @@ -187,7 +187,7 @@ protected function file($file, $fileName = null, $disposition = ResponseHeaderBa * Adds a flash message to the current session for type. * * @param string $type The type - * @param mixed $message The message + * @param mixed $message The message * * @throws \LogicException *