- Issue created by @Marcus_Johansson
- π¬π§United Kingdom andrewbelcher
Marcus_Johansson β credited andrewbelcher β .
Constructor property promotions has been around since PHP 8.0 and since Drupal 10 required PHP 8.1, this can be used for the AI module.
The core has already started moving into using it, so its better practice and should be used, see: https://www.drupal.org/project/drupal/issues/3278431 π Use PHP 8 constructor property promotion for existing code Needs work
Rewrite all constructors, to use property promotions.
Active
1.0
Code
Marcus_Johansson β credited andrewbelcher β .