@@ -240,7 +240,7 @@ |
||
240 | 240 | protected function getImageByURL(string $url): ?\InvalidArgumentException |
241 | 241 | { |
242 | 242 | if (@!getimagesize($url)) { |
243 | - throw new \InvalidArgumentException('Unsupported image type'); |
|
243 | + throw new \InvalidArgumentException('Unsupported image type'); |
|
244 | 244 | } |
245 | 245 | $upload = new \SplFileObject($url, 'rb'); |
246 | 246 | $image = ''; |