codemasher 8 лет назад
Родитель
Сommit
de1890855d
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      src/Output/QRImage.php

+ 4 - 4
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,