Skip to content

Commit eeee9d0

Browse files
committed
removed silenced errors
1 parent d618a96 commit eeee9d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ImageInfo/Guzzle5.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public static function getImagesInfo(array $urls, array $config = null)
4646
continue;
4747
}
4848

49-
if (($size = @getimagesizefromstring($response->getBody())) !== false) {
49+
if (($size = getimagesizefromstring($response->getBody())) !== false) {
5050
$result[] = [
5151
'width' => $size[0],
5252
'height' => $size[1],

src/ImageInfo/UtilsTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ protected static function getEmbeddedImageInfo($content)
1919
return false;
2020
}
2121

22-
if (($info = @getimagesizefromstring(base64_decode(substr($pieces[1], 7)))) !== false) {
22+
if (($info = getimagesizefromstring(base64_decode(substr($pieces[1], 7)))) !== false) {
2323
return [
2424
'width' => $info[0],
2525
'height' => $info[1],

0 commit comments

Comments
 (0)