@@ -292,10 +292,8 @@ discard block |
||
292 | 292 | * imageQRCode |
293 | 293 | * Creates a GD QRCode image |
294 | 294 | * |
295 | - * @param int $size |
|
296 | 295 | * @param int $padding |
297 | 296 | * @param string $errCorretion LOW, MEDIUM, QUARTILE, HIGH |
298 | - * @param string $imageType PNG, GIF, JPEG, WBMP |
|
299 | 297 | * @param string $dataText QRCode data |
300 | 298 | */ |
301 | 299 | public function imageQRCode( |
@@ -463,7 +461,7 @@ discard block |
||
463 | 461 | * |
464 | 462 | * @param resource $img |
465 | 463 | * @param int $x |
466 | - * @param intr $y |
|
464 | + * @param integer $y |
|
467 | 465 | * @return array |
468 | 466 | */ |
469 | 467 | private static function getPixelColor($img, $x, $y) |
@@ -474,9 +472,9 @@ discard block |
||
474 | 472 | /** |
475 | 473 | * Ajusta o numero para o multiplo mais proximo de base |
476 | 474 | * |
477 | - * @param float $num |
|
478 | - * @param int $num |
|
479 | - * @return int |
|
475 | + * @param integer $num |
|
476 | + * @param integer $num |
|
477 | + * @return double |
|
480 | 478 | */ |
481 | 479 | private function closestMultiple($num = 0, $base = 8) |
482 | 480 | { |
@@ -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 | { |