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

Some PHPStan fixes #109

Merged
merged 2 commits into from
May 14, 2024
Merged

Some PHPStan fixes #109

merged 2 commits into from
May 14, 2024

Commits on May 8, 2024

  1. Re-add phpdoc annotation for PHPStan

    This was accidentally deleted in 1d9a356
    jtojnar committed May 8, 2024
    Configuration menu
    Copy the full SHA
    73f42f5 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2024

  1. Fix PHPStan issue after nette/forms added more types

    nette/forms@0cd5069 added more types but that is overly broad for our usage pattern. We need to cast it to proper value until the return type is clarified upstream.
    
    Also use `$this->getForm()` instead of `$this->form` since the former is already checked not to be `null` by `$this->isFormSubmitted()`.
    jtojnar committed May 14, 2024
    Configuration menu
    Copy the full SHA
    45cf2a8 View commit details
    Browse the repository at this point in the history