:octocat: +type hints

This commit is contained in:
codemasher
2018-01-21 14:20:14 +01:00
parent 90d33b6743
commit de1890855d
+4 -4
View File
@@ -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,