diff --git a/libs/VisualisationHelper.php b/libs/VisualisationHelper.php index 3fec21b..016d037 100644 --- a/libs/VisualisationHelper.php +++ b/libs/VisualisationHelper.php @@ -30,7 +30,6 @@ trait VisualisationHelper ['Type' => 'gray', 'Term' => 'General Waste', 'Color'=> 10066588, 'Match'=> 'rest'] ]; - /** * GetWasteValues for form list * @return array List values @@ -128,11 +127,10 @@ protected function BuildWidget(array $waste, string $skin, array $custom) $date = $this->Translate('Date'); $tbc = ($skin == 'light') ? '#D7D6D6' : '#4A4B4D'; $wic = ''; - foreach($custom as $color) { + foreach ($custom as $color) { $wic .= ' .icon--' . $color['Type'] . ' { fill: #' . dechex($color['Color']) . ';}' . PHP_EOL; } - $html = '