mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-24 19:07:54 +00:00
:octocat: +type hints
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user