Passed
Branch next (11674b)
by compolom
03:37
created
src/AbstractImage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Imagick2.php 3 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -306,7 +306,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Image.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.