From cf93bbfa573cf0944846ab666d75e272ace4a2a3 Mon Sep 17 00:00:00 2001 From: Andy Postnikov Date: Tue, 23 Jul 2024 01:52:29 +0200 Subject: [PATCH] Update Config.php for PHP 8.4 Ref https://github.com/drush-ops/drush/issues/6069 --- src/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Config.php b/src/Config.php index f46508e..f4f4b05 100644 --- a/src/Config.php +++ b/src/Config.php @@ -30,7 +30,7 @@ class Config implements ConfigInterface, ConfigInterpolatorInterface * @param array $data * Config data to store. */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->config = new Data($data ?: []); $this->setDefaults(new Data());