Просмотр исходного кода

some minor whitespace improvements detected by scrutinizer

El RIDO 10 лет назад
Родитель
Сommit
c237337cd2
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      lib/Vizhash16x16.php

+ 2 - 2
lib/Vizhash16x16.php

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