Skip to content

Commit bea61aa

Browse files
committed
fixed guzzle5 imageinfo bug
1 parent 3a4e3b7 commit bea61aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ImageInfo/Guzzle5.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ public static function getImagesInfo(array $urls, array $config = null)
2222
}
2323

2424
$client = $config['client'];
25-
$requests = [];
25+
$result = [];
2626

2727
// Build parallel requests
28+
$requests = [];
2829
foreach ($urls as $url) {
2930
if (strpos($url['value'], 'data:') === 0) {
3031
if ($info = static::getEmbeddedImageInfo($url['value'])) {

0 commit comments

Comments
 (0)