From de1890855df76024e91e20eb78a7dda7ccd76f94 Mon Sep 17 00:00:00 2001 From: codemasher Date: Sun, 21 Jan 2018 14:20:14 +0100 Subject: [PATCH] :octocat: +type hints --- src/Output/QRImage.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Output/QRImage.php b/src/Output/QRImage.php index fa831f683..f642cf61c 100644 --- a/src/Output/QRImage.php +++ b/src/Output/QRImage.php @@ -116,12 +116,12 @@ class QRImage extends QROutputAbstract{ } /** - * @param $x - * @param $y - * @param $color + * @param int $x + * @param int $y + * @param int $color * @return void */ - protected function setPixel($x, $y, $color){ + protected function setPixel(int $x, int $y, int $color){ imagefilledrectangle( $this->image, $x * $this->scale,