@@ -44,7 +44,7 @@ |
||
| 44 | 44 | /** |
| 45 | 45 | * @param int $width |
| 46 | 46 | * @param int $height |
| 47 | - * @param $background |
|
| 47 | + * @param Image $background |
|
| 48 | 48 | * @return ImageInterface |
| 49 | 49 | */ |
| 50 | 50 | protected function setBackground(int $width, int $height, $background): ImageInterface |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | * @param string $text |
| 126 | 126 | * @param int $position |
| 127 | 127 | * @param string $font |
| 128 | - * @return Imagick |
|
| 128 | + * @return \Imagick |
|
| 129 | 129 | * @throws ImagickException |
| 130 | 130 | */ |
| 131 | 131 | private function prepareImage(string $text, int $position, string $font): Imagick |
@@ -217,7 +217,7 @@ discard block |
||
| 217 | 217 | /** |
| 218 | 218 | * @param int $width |
| 219 | 219 | * @param int $height |
| 220 | - * @return Imagick |
|
| 220 | + * @return \Imagick |
|
| 221 | 221 | * @throws ImagickException |
| 222 | 222 | */ |
| 223 | 223 | protected function newImage(int $width, int $height): Imagick |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Compolomus\Compomage\Interfaces\ImageInterface; |
| 6 | 6 | use Exception; |
| 7 | -use imagick; |
|
| 8 | 7 | use ImagickDraw; |
| 9 | 8 | use ImagickException; |
| 10 | 9 | use ImagickPixel; |
@@ -306,7 +306,7 @@ |
||
| 306 | 306 | */ |
| 307 | 307 | public function blur(): ImageInterface |
| 308 | 308 | { |
| 309 | - $this->getImage()->blurImage(7,5); |
|
| 309 | + $this->getImage()->blurImage(7, 5); |
|
| 310 | 310 | |
| 311 | 311 | return $this; |
| 312 | 312 | } |
@@ -10,7 +10,7 @@ |
||
| 10 | 10 | * @package Compolomus\Compomage |
| 11 | 11 | * @method Image save(string $filename): bool |
| 12 | 12 | * @method Image __toString(): string |
| 13 | - * @method Image getBase64(): string |
|
| 13 | + * @method Image getBase64(): string |
|
| 14 | 14 | * @method Image resize(int $width, int $height): ImageInterface |
| 15 | 15 | * @method Image resizeByHeight(int $height): ImageInterface |
| 16 | 16 | * @method Image resizeByWidth(int $width): ImageInterface |