Skip to content

Commit

Permalink
fix phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
nfourtythree committed Apr 9, 2024
1 parent 3cc23f5 commit 4aac71b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4aac71b

Please sign in to comment.