Closed adaamz closed 5 years ago
Hi, I added specific callable types for events (right now only for Form, I can continue on others if we agree) - so phpstan can detect more bugs like this
$form->onSuccess[] = function(SubmitButton $button): void {}
Is this solution viable or we should try to change nette/forms library? https://github.com/nette/forms/pull/216
pr in nette/forms was merged so we do not need this anymore
Hi, I added specific callable types for events (right now only for Form, I can continue on others if we agree) - so phpstan can detect more bugs like this
Is this solution viable or we should try to change nette/forms library? https://github.com/nette/forms/pull/216