codemasher преди 8 години
родител
ревизия
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,