Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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()`.
- Loading branch information