Skip to content
This repository has been archived by the owner on Dec 18, 2022. It is now read-only.

Return value of Beelab\UserBundle\Controller\UserController::getFilterFormName() must be of the type string, null returned #15

Open
lbm-services opened this issue Mar 13, 2020 · 1 comment
Assignees
Labels

Comments

@lbm-services
Copy link

if you check for for:
if (null !== $filter = $this->getFilterFormName())

then declaration / type hinting should be:

protected function getFilterFormName(): ?string

Problem solved.

@garak
Copy link
Member

garak commented Mar 13, 2020

What's the case when such return value is null?

@garak garak self-assigned this Mar 13, 2020
@garak garak added the question label Mar 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants