Open
Description
I really like this PHP reference, it's nice to send it to beginners and people who've been away for a while and want to get up to date.
But what's missing is any explanation of method/function type hints and return types, also in conjunction with declare(strict_types=1);
.
Personally I think type safety is a very important concept and when using it from the beginning it makes code cleaner and also easier to understand.
PHP 7.4 will also have typed properties, so maybe this topic is worth to be added? :-)