phpstan-src
phpstan-src copied to clipboard
Make IntegerRangeType constructor private
I was blindly following that comment (see diff), but tbh I did not fully understand it. Is it fine to do this or should it be rather deprecated via phpdoc?
Something should be done I think to avoid people using it instead of the static create function.