Passed
Push — master ( 5aa4b6...5758c7 )
by Francimar
02:45
created
src/Thermal/Graphics/Filter/BayerOrdered.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      * The original image resource will not be changed, a new image resource will be created.
12 12
      *
13 13
      * @param ImageResource $image The source image resource
14
-     * @return ImageResource The black and white image resource
14
+     * @return resource The black and white image resource
15 15
      */
16 16
     public function process($image)
17 17
     {
Please login to merge, or discard this patch.
src/Thermal/Graphics/Filter/FloydSteinberg.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      * The original image resource will not be changed, a new image resource will be created.
12 12
      *
13 13
      * @param ImageResource $image The source image resource
14
-     * @return ImageResource The black and white image resource
14
+     * @return resource The black and white image resource
15 15
      */
16 16
     public function process($image)
17 17
     {
Please login to merge, or discard this patch.
src/Thermal/Graphics/Image.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,6 @@
 block discarded – undo
80 80
     /**
81 81
      * Load an image from disk, into memory, using GD.
82 82
      *
83
-     * @param string $filename The filename to load from
84 83
      * @param Filter $filter filter process
85 84
      * @throws Exception if the image format is not supported,
86 85
      *  or the file cannot be opened.
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Thermal\Graphics;
4 4
 
5
-use Thermal\Printer;
6
-use Thermal\Buffer\Encoding;
7
-use Thermal\Connection\Connection;
8 5
 use Thermal\Graphics\Filter\FloydSteinberg;
9 6
 
10 7
 class Image
Please login to merge, or discard this patch.