- Issue created by @kim.pepper
- Merge request !12929[#3540101] Fix file_system_settings_submit() deprecation β (Closed) created by kim.pepper
- π¦πΊAustralia acbramley
Woops :D confirmed that this is valid - another reason to try and get our phpstan levels higher.
- π¦πΊAustralia kim.pepper πββοΈπ¦πΊSydney, Australia
Would be good to have an alternative to \Drupal::service() that takes a class name so we can do this:
/** * @template T of object * @param class-string<T> $className * @return T */ function createInstance(string $className): object {}
...and have phpstan do the validation.
Automatically closed - issue fixed for 2 weeks with no activity.