I have a "redirect" query parameter in my URL. I get this parameter and after doing some things I want to redirect.
content() method is expected to return an
array, so returning Symfony's
RedirectResponse is giving me a warning in PHPStorm.
What is the correct way to do it?