Completed
Pull Request — master (#86)
by Roberto
10:19
created
src/DanfcePos.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@
 block discarded – undo
9 9
  * e estabelecimento
10 10
  */
11 11
 
12
-use Posprint\Printers\PrinterInterface;
13 12
 use InvalidArgumentException;
13
+use Posprint\Printers\PrinterInterface;
14 14
 
15 15
 class DanfcePos
16 16
 {
Please login to merge, or discard this patch.
src/Graphics/Graphics.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -585,9 +585,9 @@
 block discarded – undo
585 585
     
586 586
     /**
587 587
      * Find closest multiple
588
-     * @param  float $num
589
-     * @param  int $num
590
-     * @return int
588
+     * @param  integer $num
589
+     * @param  integer $num
590
+     * @return double
591 591
      */
592 592
     private function closestMultiple($num = 0, $base = 8)
593 593
     {
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -13,12 +13,10 @@
 block discarded – undo
13 13
  * @link      http://github.com/nfephp-org/posprint for the canonical source repository
14 14
  */
15 15
 
16
-use Posprint\Graphics\Basic;
17
-use Endroid\QrCode\ErrorCorrectionLevel;
18
-use Endroid\QrCode\Writer\PngWriter;
19 16
 use Com\Tecnick\Barcode\Barcode;
20
-use RuntimeException;
21 17
 use InvalidArgumentException;
18
+use Posprint\Graphics\Basic;
19
+use RuntimeException;
22 20
 
23 21
 class Graphics extends Basic
24 22
 {
Please login to merge, or discard this patch.
src/Printers/Bematech.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
     /**
288 288
      * Prints data and feeds paper n lines
289 289
      * ESC d n Prints data and feeds paper n lines.
290
-     * @param int|null $lines
290
+     * @param integer $lines
291 291
      */
292 292
     public function lineFeed($lines = 1)
293 293
     {
@@ -450,7 +450,7 @@  discard block
 block discarded – undo
450 450
      * @param integer $pheight
451 451
      * @param integer $pwidth
452 452
      * @param integer $colunms
453
-     * @return boolean
453
+     * @return false|null
454 454
      */
455 455
     public function barcodePDF417($data = '', $ecc = 5, $pheight = 2, $pwidth = 2, $colunms = 3)
456 456
     {
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,10 +14,10 @@
 block discarded – undo
14 14
  * @link       http://github.com/nfephp-org/posprint for the canonical source repository
15 15
  */
16 16
 
17
+use InvalidArgumentException;
18
+use Posprint\Graphics\Graphics;
17 19
 use Posprint\Printers\DefaultPrinter;
18 20
 use Posprint\Printers\PrinterInterface;
19
-use Posprint\Graphics\Graphics;
20
-use InvalidArgumentException;
21 21
 use RuntimeException;
22 22
 
23 23
 class Bematech extends DefaultPrinter implements PrinterInterface
Please login to merge, or discard this patch.
src/Printers/DefaultPrinter.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -500,7 +500,7 @@  discard block
 block discarded – undo
500 500
     /**
501 501
      * Set italic mode on or off
502 502
      *
503
-     * @return bool
503
+     * @return boolean|null
504 504
      */
505 505
     public function setItalic()
506 506
     {
@@ -655,7 +655,7 @@  discard block
 block discarded – undo
655 655
     /**
656 656
      * Prints data and feeds paper n lines
657 657
      * ESC d n Prints data and feeds paper n lines.
658
-     * @param int|null $lines
658
+     * @param integer $lines
659 659
      */
660 660
     public function lineFeed($lines = 1)
661 661
     {
@@ -805,7 +805,7 @@  discard block
 block discarded – undo
805 805
      * @param integer $pheight
806 806
      * @param integer $pwidth
807 807
      * @param integer $colunms
808
-     * @return boolean
808
+     * @return false|null
809 809
      */
810 810
     public function barcodePDF417($data = '', $ecc = 5, $pheight = 2, $pwidth = 2, $colunms = 3)
811 811
     {
@@ -1032,7 +1032,7 @@  discard block
 block discarded – undo
1032 1032
      * Convert widths and heights to characters.
1033 1033
      * Used before sending graphics to set the size.
1034 1034
      *
1035
-     * @param  array $inputs
1035
+     * @param  integer[] $inputs
1036 1036
      * @param  bool  $long   True to use 4 bytes, false to use 2
1037 1037
      * @return string
1038 1038
      */
Please login to merge, or discard this patch.