diff --git a/libs/VisualisationHelper.php b/libs/VisualisationHelper.php index 9cd3d46..4f33da2 100644 --- a/libs/VisualisationHelper.php +++ b/libs/VisualisationHelper.php @@ -90,10 +90,10 @@ protected function BuildWidget(array $waste, string $skin, array $custom) // (*) build svg icons & textM $svg = ''; $wn = ''; - for($i=0; $i < $pickups; $i++) { + for ($i = 0; $i < $pickups; $i++) { $svg .= ''; $wn .= $table[$i]['name']; - if($i != $pickups-1) { + if ($i != ($pickups - 1)) { $wn .= ','; } }