Skip to content

Commit 20f7d0f

Browse files
committed
fixed issue with getBiggerImage option #66
1 parent 75736ec commit 20f7d0f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Adapters/Adapter.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,9 @@ public function getImage()
354354
if (empty($images)) {
355355
return;
356356
}
357+
358+
$images = [$images];
359+
357360
} else {
358361
$images = Utils::sortByProviders($this->images);
359362
}

0 commit comments

Comments
 (0)