Fixed static analysis issues.

This commit is contained in:
Jan Böhmer 2023-01-08 18:30:41 +01:00
parent e679317b4b
commit 257c67b6c1
4 changed files with 6 additions and 5 deletions

View file

@ -86,7 +86,7 @@ class PartListsController extends AbstractController
}
//If the action handler returned a response, we use it, otherwise we redirect back to the previous page.
if ($redirectResponse){
if (isset($redirectResponse) && $redirectResponse instanceof Response) {
return $redirectResponse;
}