Completed
Push — master ( 5c5d67...fe7cae )
by Roberto
31:11 queued 28:45
created
src/Printers/DefaultPrinter.php 2 patches
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,11 +24,11 @@
 block discarded – undo
24 24
  * @link       http://github.com/nfephp-org/posprint for the canonical source repository
25 25
  */
26 26
 
27
-use Posprint\Connectors\ConnectorInterface;
27
+use InvalidArgumentException;
28 28
 use Posprint\Connectors\Buffer;
29
+use Posprint\Connectors\ConnectorInterface;
29 30
 use Posprint\Graphics\Graphics;
30 31
 use RuntimeException;
31
-use InvalidArgumentException;
32 32
 
33 33
 abstract class DefaultPrinter implements PrinterInterface
34 34
 {
Please login to merge, or discard this patch.
Doc Comments   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -601,7 +601,6 @@  discard block
 block discarded – undo
601 601
      * n  1/180-inch vertical motion
602 602
      * normal paragraph 30/180" => 4.23 mm
603 603
      *
604
-     * @param int $paragraph
605 604
      */
606 605
     public function setParagraph($value = 0)
607 606
     {
@@ -623,7 +622,7 @@  discard block
 block discarded – undo
623 622
      * Prints data and feeds paper n lines
624 623
      * ESC d n Prints data and feeds paper n lines.
625 624
      *
626
-     * @param type $lines
625
+     * @param integer $lines
627 626
      */
628 627
     public function lineFeed($lines = 1)
629 628
     {
@@ -882,7 +881,7 @@  discard block
 block discarded – undo
882 881
      * @param  string $type
883 882
      * @param  int    $id
884 883
      * @param  string $data
885
-     * @return string
884
+     * @return boolean
886 885
      */
887 886
     protected static function validateBarcodeData($type, &$id, &$data)
888 887
     {
@@ -963,7 +962,7 @@  discard block
 block discarded – undo
963 962
      * Generate two characters for a number:
964 963
      * In lower and higher parts, or more parts as needed.
965 964
      *
966
-     * @param int $int    Input number
965
+     * @param int $input    Input number
967 966
      * @param int $length The number of bytes to output (1 - 4).
968 967
      */
969 968
     protected static function intLowHigh($input, $length)
@@ -981,7 +980,7 @@  discard block
 block discarded – undo
981 980
      * Convert widths and heights to characters.
982 981
      * Used before sending graphics to set the size.
983 982
      *
984
-     * @param  array $inputs
983
+     * @param  integer[] $inputs
985 984
      * @param  bool  $long   True to use 4 bytes, false to use 2
986 985
      * @return string
987 986
      */
Please login to merge, or discard this patch.
src/Connectors/File.php 2 patches
Unused Use Statements   +1 added lines, -1 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;
17 18
 use Posprint\Connectors\ConnectorInterface;
18 19
 use Posprint\Connectors\File;
19 20
 use RuntimeException;
20
-use InvalidArgumentException;
21 21
 
22 22
 class Network extends File implements ConnectorInterface
23 23
 {
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
      * Read some bytes from file
87 87
      *
88 88
      * @param  int $len
89
-     * @return stirng
89
+     * @return string
90 90
      */
91 91
     public function read($len = null)
92 92
     {
Please login to merge, or discard this patch.