Skip to content

Commit

Permalink
[TASK] Avoid implicit nullable parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
derhansen committed Nov 1, 2024
1 parent a001e1f commit 152e825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Controller/BannerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function __construct(
/**
* Click Action for a banner
*/
public function clickAction(Banner $banner = null): ResponseInterface
public function clickAction(?Banner $banner = null): ResponseInterface
{
if (is_null($banner)) {
$response = GeneralUtility::makeInstance(ErrorController::class)->pageNotFoundAction(
Expand Down

0 comments on commit 152e825

Please sign in to comment.