wol-soft / php-json-schema-model-generator

Creates (immutable) PHP model classes from JSON-Schema files including all validation rules as PHP code
MIT License
61 stars 13 forks source link

Fixed PropertyInterface::setType() signature mismatch #47

Closed dktapps closed 3 years ago

dktapps commented 3 years ago

the doc comment (as well as all the implementors) say it should be this. In addition, null may be passed in multiple places where this is used.

This was found using PHPStan, along with a few other errors.

coveralls commented 3 years ago

Pull Request Test Coverage Report for Build 1339122058


Totals Coverage Status
Change from base Build 1338264051: 0.0%
Covered Lines: 2273
Relevant Lines: 2306

💛 - Coveralls