Skip to content

Commit

Permalink
Allow for null elements.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aerendir committed Oct 3, 2024
1 parent 4949f99 commit 14450ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 14450ec

Please sign in to comment.