Using php 8.3 you can now use constructors to define protected properties
https://www.php.net/manual/en/language.oop5.decon.php#language.oop5.decon.constructor.promotion
instead of defining them and assigning them in construct, however the PHP tool is flagging this as an error:
PHP 8.3 Constructor Promotion
- Edited
willslade It does not look like our error.
PHP extension does support PHP 5.4 - 8.4 syntax, including constructor properties.