Skip to content

Commit

Permalink
fix(flashbag): removed potential BC from addFlash function
Browse files Browse the repository at this point in the history
  • Loading branch information
UlrichHP committed Feb 3, 2023
1 parent 8b8022d commit ef28368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bundle/Controller/ControllerTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ protected function file($file, string $fileName = null, string $disposition = Re
*
* @final
*/
protected function addFlash(string $type, mixed $message): void
protected function addFlash(string $type, $message)
{
try {
$session = $this->container->get('request_stack')->getSession();
Expand Down

0 comments on commit ef28368

Please sign in to comment.