-2

Type hints with scalar types

In the documentation we can read and I experience the type hints that didn't take care of scalar types. Could be very interesting to add this to enforce what we pass to functions. Reference: http://www.php.net/manual/en/language.oop5.typehinting.php
Cryde ยท 3 months ago