- Issue created by @marcus_johansson
- Assigned to mjb3141
- Merge request !240Issue #3454818: Convert constructor arguments to promoted properties. → (Open) created by mjb3141
- 🇵🇹Portugal catia_penas
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