Skip to content

Commit ffaf22c

Browse files
committed
fix stan
1 parent 141476d commit ffaf22c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/Concerns/HasMedia.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ public function getFirstMedia(
101101
return $this->getMedia($collectionName, $collectionGroup)->first();
102102
}
103103

104+
/**
105+
* @param array<array-key, mixed> $parameters
106+
*/
104107
public function getFirstMediaUrl(
105108
?string $collectionName = null,
106109
?string $collectionGroup = null,

src/Contracts/InteractWithMedia.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ public function getFirstMedia(
5454
?string $collectionGroup = null
5555
): ?Media;
5656

57+
/**
58+
* @param array<array-key, mixed> $parameters
59+
*/
5760
public function getFirstMediaUrl(
5861
?string $collectionName = null,
5962
?string $collectionGroup = null,

0 commit comments

Comments
 (0)