@@ -48,7 +48,7 @@ |
||
48 | 48 | */ |
49 | 49 | protected function getImageByURL(string $url): ?\Exception |
50 | 50 | { |
51 | - [, , $type] = getimagesize($url); |
|
51 | + [,, $type] = getimagesize($url); |
|
52 | 52 | if ($type) { |
53 | 53 | $upload = new \SplFileObject($url, 'rb'); |
54 | 54 | $image = ''; |