otsch (Christian Olear) @otsch.codes · Dec 1

After updating, pint removed all the question marks before nullable string types with a default value of null in my project. Even though this works...I think it's way better when the type hint also shows that $string can also be null. What do you think?

0 likes 1 replies

?

Replies

otsch (Christian Olear) · Dec 1

UPDATE: got a lot response on the platform that shall not be named, and learned from Máté Kocsis and Gina Peter Banyard, that support in PHP for implicit nullability will be removed sooner or later! So, i created an issue + PR to change the default in Pint: github.com/laravel/pint...