Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid using dynamic properties of Icinga\Web\View as arguments #5191

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

raviks789
Copy link
Contributor

@raviks789 raviks789 commented Feb 21, 2024

Since the dynamic properties of Icinga\Web\View can be null, these properties must not be used as arguments for methods whose parameters are not nullable.

@cla-bot cla-bot bot added the cla/signed label Feb 21, 2024
@raviks789 raviks789 force-pushed the fix/phpstan-latest-errors branch 2 times, most recently from fa2c836 to 7e41616 Compare February 21, 2024 11:09
@raviks789 raviks789 changed the title Controller::setupPaginationControl: Avoid passing magic property to parameter $query Controller::setupPaginationControl: Avoid using dynamic properties Icinga\Web\View as argument Feb 21, 2024
@raviks789 raviks789 changed the title Controller::setupPaginationControl: Avoid using dynamic properties Icinga\Web\View as argument Controller::setupPaginationControl: Avoid using dynamic properties of Icinga\Web\View as argument Feb 21, 2024
@raviks789 raviks789 self-assigned this Feb 21, 2024
@raviks789 raviks789 changed the title Controller::setupPaginationControl: Avoid using dynamic properties of Icinga\Web\View as argument Avoid using dynamic properties of Icinga\Web\View as arguments Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant