Fixing another type annotation (to make static type checkers such as PHPStan happy). In this case, changing CodeDefinition::optionValidator and CodeDefinitionBuilder::optionValidator from type InputValidator to array[string]InputValidator.
Note: I validated this PHPDoc annotation syntax using PHPStan, and also this linter
Fixing another type annotation (to make static type checkers such as PHPStan happy). In this case, changing
CodeDefinition::optionValidator
andCodeDefinitionBuilder::optionValidator
from typeInputValidator
toarray[string]InputValidator
.Note: I validated this PHPDoc annotation syntax using PHPStan, and also this linter