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

Conversation

jtojnar
Copy link
Collaborator

@jtojnar jtojnar commented May 14, 2024

No description provided.

This was accidentally deleted in 1d9a356
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 jtojnar merged commit 45cf2a8 into master May 14, 2024
1 of 7 checks passed
@jtojnar jtojnar deleted the fixes branch May 14, 2024 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant