From 07ddbb0f4c76253b1d888ceab555bdf26992fd01 Mon Sep 17 00:00:00 2001 From: msquare Date: Thu, 29 Sep 2016 12:45:06 +0200 Subject: make short variable names longer --- includes/helper/graph_helper.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'includes/helper') diff --git a/includes/helper/graph_helper.php b/includes/helper/graph_helper.php index 180d1ef9..42a6c07a 100644 --- a/includes/helper/graph_helper.php +++ b/includes/helper/graph_helper.php @@ -7,7 +7,7 @@ * @param unknown $colors colors for the data rows * @param unknown $data the data */ -function bargraph($id, $key, $row_names, $colors, $data) { +function bargraph($dom_id, $key, $row_names, $colors, $data) { $labels = []; foreach ($data as $dataset) { $labels[] = $dataset[$key]; @@ -26,10 +26,10 @@ function bargraph($id, $key, $row_names, $colors, $data) { ]; } - return ' + return '