#PHP final keyword does not apply to parameters.

This means that a final property cannot be a promoted property: both declarations are mutually exclusive.

#phptip #phptrick

https://php-tips.readthedocs.io/en/latest/tips/no-final-parameter.html
Post image

Comments