@@ -23,7 +23,7 @@ |
||
23 | 23 | $this->setImLang($lang); |
24 | 24 | if (!function_exists('imagecreatefromwebp') || !function_exists('imagewebp')) { |
25 | 25 | // @codeCoverageIgnoreStart |
26 | - throw new ImagesException($this->getImLang()->imImageMagicLibNotPresent(),ImagesException::FORMAT_NO_LIBRARY); |
|
26 | + throw new ImagesException($this->getImLang()->imImageMagicLibNotPresent(), ImagesException::FORMAT_NO_LIBRARY); |
|
27 | 27 | } |
28 | 28 | // @codeCoverageIgnoreEnd |
29 | 29 | } |
@@ -32,7 +32,7 @@ |
||
32 | 32 | { |
33 | 33 | $content = @file_get_contents($path); |
34 | 34 | if (empty($content)) { |
35 | - throw new ImagesException($this->getImLang()->imCannotCreateFromResource(),ImagesException::FORMAT_AUTO_NO_FILE); |
|
35 | + throw new ImagesException($this->getImLang()->imCannotCreateFromResource(), ImagesException::FORMAT_AUTO_NO_FILE); |
|
36 | 36 | } |
37 | 37 | $result = @imagecreatefromstring($content); |
38 | 38 | if (false === $result) { |