From 37ea82eb8c80b308eb23444a61b0bea69b23e3c0 Mon Sep 17 00:00:00 2001 From: ptmkenny <1451472+ptmkenny@users.noreply.github.com> Date: Sun, 1 Dec 2024 12:45:24 +0900 Subject: [PATCH] Fix php 8.4 deprecation --- src/Drupal/DrupalExtension/ServiceContainer/DrupalExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Drupal/DrupalExtension/ServiceContainer/DrupalExtension.php b/src/Drupal/DrupalExtension/ServiceContainer/DrupalExtension.php index a72a406f..8c1c26f8 100644 --- a/src/Drupal/DrupalExtension/ServiceContainer/DrupalExtension.php +++ b/src/Drupal/DrupalExtension/ServiceContainer/DrupalExtension.php @@ -39,7 +39,7 @@ class DrupalExtension implements ExtensionInterface * * @param null|ServiceProcessor $processor */ - public function __construct(ServiceProcessor $processor = null) + public function __construct(?ServiceProcessor $processor = null) { $this->processor = $processor ? : new ServiceProcessor(); }