We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d63d85e commit 59387e9Copy full SHA for 59387e9
1 file changed
tests/ClientTest.php
@@ -126,6 +126,8 @@ public function testCollection(): void
126
$collections = $pexels->collection("33");
127
128
$this->assertInstanceOf(CollectionMedia::class, $collections);
129
+
130
+ /** @var Photo|Video $media */
131
foreach ($collections->media as $media) {
132
if ('photo' === $media->type) {
133
$this->assertInstanceOf(Photo::class, $media);
0 commit comments