Преглед изворни кода

some minor whitespace improvements detected by scrutinizer

El RIDO пре 10 година
родитељ
комит
c237337cd2
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      lib/Vizhash16x16.php

+ 2 - 2
lib/Vizhash16x16.php

@@ -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: