This PR will add property types for base Input class for $validatorChain and $filterChain properties. As those could be accessed in derived classes directly and not via their appropriate getters/setters this is breaking.
The purpose of this PR is to remove confusion for phpstan (not sure about psalm) as it will detect a nullable property as technically it is null as long it isn't set or initialized via getValidatorChain()/getFilterChain().
Description
This PR will add property types for base
Input
class for$validatorChain
and$filterChain
properties. As those could be accessed in derived classes directly and not via their appropriate getters/setters this is breaking. The purpose of this PR is to remove confusion for phpstan (not sure about psalm) as it will detect anullable
property as technically it isnull
as long it isn't set or initialized viagetValidatorChain()
/getFilterChain()
.