From 545534dad66e5244dc71e555a72ba3f043a01c5a Mon Sep 17 00:00:00 2001 From: Kristof Feys Date: Wed, 6 Mar 2024 21:48:27 +0100 Subject: [PATCH] Update ElementResource.php --- src/resources/ElementResource.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/resources/ElementResource.php b/src/resources/ElementResource.php index da4d197..8997ae2 100644 --- a/src/resources/ElementResource.php +++ b/src/resources/ElementResource.php @@ -67,12 +67,12 @@ class ElementResource extends BaseObject implements ResourceAdapterInterface /** * @var string|null The resource key that should be set on the resource */ - public ?string $resourceKey; + public ?string $resourceKey = 'data'; /** * @var array|null Custom meta values */ - public ?array $meta; + public ?array $meta = null; /** * @inheritdoc