@@ -593,7 +593,6 @@ discard block  | 
                                                    ||
| 593 | 593 | * The default is set to zero and 30/180 "  | 
                                                        
| 594 | 594 | * any different number of zero will generate multiples of.  | 
                                                        
| 595 | 595 | *  | 
                                                        
| 596 | - * @param int $paragraph  | 
                                                        |
| 597 | 596 | */  | 
                                                        
| 598 | 597 | public function setParagraph($value = 0)  | 
                                                        
| 599 | 598 |      {   //n * 1/180-inch vertical motion | 
                                                        
@@ -618,7 +617,7 @@ discard block  | 
                                                    ||
| 618 | 617 | * Prints data and feeds paper n lines  | 
                                                        
| 619 | 618 | * ESC d n Prints data and feeds paper n lines.  | 
                                                        
| 620 | 619 | *  | 
                                                        
| 621 | - * @param type $lines  | 
                                                        |
| 620 | + * @param integer $lines  | 
                                                        |
| 622 | 621 | */  | 
                                                        
| 623 | 622 | public function lineFeed($lines = 1)  | 
                                                        
| 624 | 623 |      { | 
                                                        
@@ -869,8 +868,8 @@ discard block  | 
                                                    ||
| 869 | 868 | /**  | 
                                                        
| 870 | 869 | *  | 
                                                        
| 871 | 870 | * @param type $type  | 
                                                        
| 872 | - * @param type $data  | 
                                                        |
| 873 | - * @param type $source  | 
                                                        |
| 871 | + * @param string $data  | 
                                                        |
| 872 | + * @param string $source  | 
                                                        |
| 874 | 873 | * @throws InvalidArgumentException  | 
                                                        
| 875 | 874 | */  | 
                                                        
| 876 | 875 | protected static function validateBarcodeData($type, $data, $source)  | 
                                                        
@@ -974,7 +973,7 @@ discard block  | 
                                                    ||
| 974 | 973 | * Generate two characters for a number:  | 
                                                        
| 975 | 974 | * In lower and higher parts, or more parts as needed.  | 
                                                        
| 976 | 975 | *  | 
                                                        
| 977 | - * @param int $int Input number  | 
                                                        |
| 976 | + * @param int $input Input number  | 
                                                        |
| 978 | 977 | * @param int $length The number of bytes to output (1 - 4).  | 
                                                        
| 979 | 978 | */  | 
                                                        
| 980 | 979 | protected static function intLowHigh($input, $length)  | 
                                                        
@@ -993,7 +992,7 @@ discard block  | 
                                                    ||
| 993 | 992 | * Convert widths and heights to characters.  | 
                                                        
| 994 | 993 | * Used before sending graphics to set the size.  | 
                                                        
| 995 | 994 | *  | 
                                                        
| 996 | - * @param array $inputs  | 
                                                        |
| 995 | + * @param integer[] $inputs  | 
                                                        |
| 997 | 996 | * @param bool $long True to use 4 bytes, false to use 2  | 
                                                        
| 998 | 997 | *  | 
                                                        
| 999 | 998 | * @return string  | 
                                                        
@@ -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 |  { |