@@ -13,10 +13,10 @@ |
||
13 | 13 | * @link http://github.com/nfephp-org/posprint for the canonical source repository |
14 | 14 | */ |
15 | 15 | |
16 | -use Posprint\Graphics\Basic; |
|
17 | 16 | use Endroid\QrCode\QrCode; |
18 | -use RuntimeException; |
|
19 | 17 | use InvalidArgumentException; |
18 | +use Posprint\Graphics\Basic; |
|
19 | +use RuntimeException; |
|
20 | 20 | |
21 | 21 | class Graphics extends Basic |
22 | 22 | { |
@@ -562,9 +562,9 @@ |
||
562 | 562 | /** |
563 | 563 | * Ajusta o numero para o multiplo mais proximo de base |
564 | 564 | * |
565 | - * @param float $num |
|
566 | - * @param int $num |
|
567 | - * @return int |
|
565 | + * @param integer $num |
|
566 | + * @param integer $num |
|
567 | + * @return double |
|
568 | 568 | */ |
569 | 569 | private function closestMultiple($num = 0, $base = 8) |
570 | 570 | { |
@@ -24,11 +24,11 @@ |
||
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 | { |
@@ -520,7 +520,7 @@ discard block |
||
520 | 520 | /** |
521 | 521 | * Set italic mode on or off |
522 | 522 | * |
523 | - * @return bool |
|
523 | + * @return boolean|null |
|
524 | 524 | */ |
525 | 525 | public function setItalic() |
526 | 526 | { |
@@ -657,7 +657,6 @@ discard block |
||
657 | 657 | * n 1/180-inch vertical motion |
658 | 658 | * normal paragraph 30/180" => 4.23 mm |
659 | 659 | * |
660 | - * @param int $paragraph |
|
661 | 660 | */ |
662 | 661 | public function setParagraph($value = 0) |
663 | 662 | { |
@@ -985,7 +984,7 @@ discard block |
||
985 | 984 | * Generate two characters for a number: |
986 | 985 | * In lower and higher parts, or more parts as needed. |
987 | 986 | * |
988 | - * @param int $int Input number |
|
987 | + * @param int $input Input number |
|
989 | 988 | * @param int $length The number of bytes to output (1 - 4). |
990 | 989 | */ |
991 | 990 | protected static function intLowHigh($input, $length) |
@@ -14,10 +14,10 @@ |
||
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 | { |
@@ -86,7 +86,7 @@ |
||
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 | { |