@@ -13,8 +13,8 @@ |
||
| 13 | 13 | * @link http://github.com/nfephp-org/posprint for the canonical source repository |
| 14 | 14 | */ |
| 15 | 15 | |
| 16 | -use Posprint\Connectors\ConnectorInterface; |
|
| 17 | 16 | use PhpSerial; |
| 17 | +use Posprint\Connectors\ConnectorInterface; |
|
| 18 | 18 | |
| 19 | 19 | class Serial implements ConnectorInterface |
| 20 | 20 | { |
@@ -319,7 +319,6 @@ discard block |
||
| 319 | 319 | * Set automatic send massage to serial |
| 320 | 320 | * |
| 321 | 321 | * @param bool $auto |
| 322 | - * @param float $time |
|
| 323 | 322 | */ |
| 324 | 323 | public function setAuto($auto, $waittime) |
| 325 | 324 | { |
@@ -716,7 +715,7 @@ discard block |
||
| 716 | 715 | * |
| 717 | 716 | * @param type $cmd |
| 718 | 717 | * @param type $out |
| 719 | - * @return type |
|
| 718 | + * @return integer |
|
| 720 | 719 | */ |
| 721 | 720 | protected function execCommand($cmd, &$out = null) |
| 722 | 721 | { |
@@ -21,7 +21,6 @@ |
||
| 21 | 21 | */ |
| 22 | 22 | |
| 23 | 23 | use RuntimeException; |
| 24 | -use InvalidArgumentException; |
|
| 25 | 24 | |
| 26 | 25 | class PhpSerial |
| 27 | 26 | { |