Greetings everyone, In this edition of PHP Annotated, you can read about the latest release of PHP, updates of PSR standards, and the new RFC proposals. PHP 7.2 and earlier versions of PHP are no longer supported. If you are using an older version, please consider upgrading to PHP 7.4.PHP-FIG published updates for PSR-6 and PSR-13 standards.
In both cases, the first version adds types to the arguments and the second adds them to the return values.
The reason for the proposal is the fact that in RFC Enumerations, the values of enums are objects.