From 14450ec5a751e4e16bf182e75a4a056f5b843132 Mon Sep 17 00:00:00 2001 From: Aerendir Date: Thu, 3 Oct 2024 18:44:44 +0200 Subject: [PATCH] Allow for `null` elements. --- src/Model/Feature/Subscribed/SubscribedFeaturesCollection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Feature/Subscribed/SubscribedFeaturesCollection.php b/src/Model/Feature/Subscribed/SubscribedFeaturesCollection.php index 779b9ee6..caac1611 100644 --- a/src/Model/Feature/Subscribed/SubscribedFeaturesCollection.php +++ b/src/Model/Feature/Subscribed/SubscribedFeaturesCollection.php @@ -21,7 +21,7 @@ final class SubscribedFeaturesCollection extends AbstractFeaturesCollection impl { public const KIND = 'subscribed'; - public function __construct(array $elements = []) + public function __construct(?array $elements = []) { parent::__construct(self::KIND, $elements); }