Skip to content

Commit

Permalink
Update ElementResource.php
Browse files Browse the repository at this point in the history
  • Loading branch information
kristoffeys authored Mar 6, 2024
1 parent 9807840 commit 545534d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/resources/ElementResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 545534d

Please sign in to comment.