@@ -522,7 +522,7 @@ discard block |
||
| 522 | 522 | /** |
| 523 | 523 | * Set italic mode on or off |
| 524 | 524 | * |
| 525 | - * @return bool |
|
| 525 | + * @return boolean|null |
|
| 526 | 526 | */ |
| 527 | 527 | public function setItalic() |
| 528 | 528 | { |
@@ -659,7 +659,6 @@ discard block |
||
| 659 | 659 | * n 1/180-inch vertical motion |
| 660 | 660 | * normal paragraph 30/180" => 4.23 mm |
| 661 | 661 | * |
| 662 | - * @param int $paragraph |
|
| 663 | 662 | */ |
| 664 | 663 | public function setParagraph($value = 0) |
| 665 | 664 | { |
@@ -834,7 +833,7 @@ discard block |
||
| 834 | 833 | * @param integer $pheight |
| 835 | 834 | * @param integer $pwidth |
| 836 | 835 | * @param integer $colunms |
| 837 | - * @return boolean |
|
| 836 | + * @return false|null |
|
| 838 | 837 | */ |
| 839 | 838 | public function barcodePDF417($data = '', $ecc = 5, $pheight = 2, $pwidth = 2, $colunms = 3) |
| 840 | 839 | { |
@@ -1042,7 +1041,7 @@ discard block |
||
| 1042 | 1041 | * Generate two characters for a number: |
| 1043 | 1042 | * In lower and higher parts, or more parts as needed. |
| 1044 | 1043 | * |
| 1045 | - * @param int $int Input number |
|
| 1044 | + * @param int $input Input number |
|
| 1046 | 1045 | * @param int $length The number of bytes to output (1 - 4). |
| 1047 | 1046 | */ |
| 1048 | 1047 | protected static function intLowHigh($input, $length) |
@@ -24,13 +24,13 @@ |
||
| 24 | 24 | * @link http://github.com/nfephp-org/posprint for the canonical source repository |
| 25 | 25 | */ |
| 26 | 26 | |
| 27 | -use Posprint\Printers\PrinterInterface; |
|
| 28 | -use Posprint\Connectors\ConnectorInterface; |
|
| 27 | +use InvalidArgumentException; |
|
| 29 | 28 | use Posprint\Connectors\Buffer; |
| 29 | +use Posprint\Connectors\ConnectorInterface; |
|
| 30 | 30 | use Posprint\Graphics\Graphics; |
| 31 | 31 | use Posprint\Printers\Barcodes\Barcode1DAnalysis; |
| 32 | +use Posprint\Printers\PrinterInterface; |
|
| 32 | 33 | use RuntimeException; |
| 33 | -use InvalidArgumentException; |
|
| 34 | 34 | |
| 35 | 35 | abstract class DefaultPrinter implements PrinterInterface |
| 36 | 36 | { |