diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-10-08 09:31:49 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-10-08 09:31:49 +0400 |
commit | 84eba85074891bfa6a718ae413a1d87ced4f28ca (patch) | |
tree | 6df358670aba14da2883dd68434b326edc6a50fe /plugins/CoreVisualizations/JqplotDataGenerator/Evolution.php | |
parent | 1fa8da9b963e99e08c829fe6491e8ccf2d1054e2 (diff) |
Applying phpstorm code style PSR refs #3771
Diffstat (limited to 'plugins/CoreVisualizations/JqplotDataGenerator/Evolution.php')
-rw-r--r-- | plugins/CoreVisualizations/JqplotDataGenerator/Evolution.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/CoreVisualizations/JqplotDataGenerator/Evolution.php b/plugins/CoreVisualizations/JqplotDataGenerator/Evolution.php index 3b1eeccab8..342bd1bdb0 100644 --- a/plugins/CoreVisualizations/JqplotDataGenerator/Evolution.php +++ b/plugins/CoreVisualizations/JqplotDataGenerator/Evolution.php @@ -47,9 +47,9 @@ class Evolution extends JqplotDataGenerator // if rows to display are not specified, default to all rows (TODO: perhaps this should be done elsewhere?) $rowsToDisplay = $this->properties['visualization_properties']->rows_to_display - ?: array_unique($dataTable->getColumn('label')) - ?: array(false) // make sure that a series is plotted even if there is no data - ; + ? : array_unique($dataTable->getColumn('label')) + ? : array(false) // make sure that a series is plotted even if there is no data + ; // collect series data to show. each row-to-display/column-to-display permutation creates a series. $allSeriesData = array(); @@ -93,9 +93,9 @@ class Evolution extends JqplotDataGenerator } $link = 'index.php?' . Url::getQueryStringFromParameters(array( - 'module' => 'CoreHome', - 'action' => 'index', - ) + $parameters) + 'module' => 'CoreHome', + 'action' => 'index', + ) + $parameters) . $hash; $axisXOnClick[] = $link; } @@ -118,7 +118,7 @@ class Evolution extends JqplotDataGenerator if ($row === false) { $seriesData[] = 0; } else { - $seriesData[] = $row->getColumn($columnName) ?: 0; + $seriesData[] = $row->getColumn($columnName) ? : 0; } } return $seriesData; |