some minor whitespace improvements detected by scrutinizer

This commit is contained in:
El RIDO 2016-08-10 18:22:28 +02:00
parent e117358674
commit c237337cd2

View File

@ -85,7 +85,7 @@ class Vizhash16x16
return ''; return '';
} }
$textlen=strlen($text); $textlen = strlen($text);
// We convert the hash into an array of integers. // We convert the hash into an array of integers.
$this->VALUES = array(); $this->VALUES = array();
@ -224,7 +224,7 @@ class Vizhash16x16
ImageFilledEllipse($image, $this->getX(), $this->getY(), $this->getX(), $this->getY(), $color); ImageFilledEllipse($image, $this->getX(), $this->getY(), $this->getX(), $this->getY(), $color);
break; break;
case 3: case 3:
$points = array($this->getX(), $this->getY(), $this->getX(), $this->getY(), $this->getX(), $this->getY(),$this->getX(), $this->getY()); $points = array($this->getX(), $this->getY(), $this->getX(), $this->getY(), $this->getX(), $this->getY(), $this->getX(), $this->getY());
ImageFilledPolygon($image, $points, 4, $color); ImageFilledPolygon($image, $points, 4, $color);
break; break;
default: default: