From f379716b614c65cd72e3b2386f90bd989d6ceb0d Mon Sep 17 00:00:00 2001 From: Aerendir Date: Fri, 4 Oct 2024 09:20:35 +0200 Subject: [PATCH] Fix type hinting of `Subscription::$features`. --- src/Model/Subscription.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Subscription.php b/src/Model/Subscription.php index 2fb54b08..15fed85d 100644 --- a/src/Model/Subscription.php +++ b/src/Model/Subscription.php @@ -38,7 +38,7 @@ abstract class Subscription implements SubscriptionInterface * * @ORM\Column(name="features", type="json", nullable=true) */ - private ?SubscribedFeaturesCollection $features; + private null|array|SubscribedFeaturesCollection $features; /** @ORM\Column(name="`renew_interval`", type="string", nullable=true) */ private ?string $renewInterval = null;