From 4aac71be2e50f4e71848f0155eca79907878614e Mon Sep 17 00:00:00 2001 From: Nathaniel Hammond Date: Tue, 9 Apr 2024 08:55:59 +0100 Subject: [PATCH] fix phpstan --- src/services/Api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/Api.php b/src/services/Api.php index 5e2b3ae..10760e9 100644 --- a/src/services/Api.php +++ b/src/services/Api.php @@ -124,7 +124,7 @@ public function getMetafieldsByVariantId(int $id): array */ public function getMetafieldsByIdAndOwnerResource(int $id, string $ownerResource): array { - /** @var ShopifyMetafield[] $metafields */ + /** @var array $metafields */ $metafields = $this->get("{$ownerResource}/{$id}/metafields", [ 'metafield' => [ 'owner_id' => $id,