diff options
author | fabiocarneiro <fahecs@gmail.com> | 2015-05-27 12:56:17 +0300 |
---|---|---|
committer | fabiocarneiro <fahecs@gmail.com> | 2015-05-27 12:56:17 +0300 |
commit | a2a63d34ebb460174e1a3e8d8022fe3e3ab4b469 (patch) | |
tree | fbfc480352bc711bc03f12849824507e56b5034a /core/Plugin/Report.php | |
parent | b2f5b5489ceca056217fc6663ec6c2c6b052cd42 (diff) |
fix core folder with php-cs-fixer for psr-2
Diffstat (limited to 'core/Plugin/Report.php')
-rw-r--r-- | core/Plugin/Report.php | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/core/Plugin/Report.php b/core/Plugin/Report.php index a1c54e59d1..75d76fca33 100644 --- a/core/Plugin/Report.php +++ b/core/Plugin/Report.php @@ -297,7 +297,7 @@ class Report * Defaults to false * @return bool */ - public function alwaysUseDefaultViewDataTable () + public function alwaysUseDefaultViewDataTable() { return false; } @@ -312,7 +312,6 @@ class Report */ public function configureView(ViewDataTable $view) { - } /** @@ -433,7 +432,7 @@ class Report foreach ($restrictToColumns as $column) { if (isset($processedMetricsById[$column])) { $metrics = array_merge($metrics, $processedMetricsById[$column]->getDependentMetrics()); - } else if (isset($metricsSet[$column])) { + } elseif (isset($metricsSet[$column])) { $metrics[] = $column; } } @@ -498,7 +497,6 @@ class Report if (is_string($processedMetric) && !empty($translations[$processedMetric])) { $documentation[$processedMetric] = $translations[$processedMetric]; } elseif ($processedMetric instanceof ProcessedMetric) { - $name = $processedMetric->getName(); $metricDocs = $processedMetric->getDocumentation(); if (empty($metricDocs)) { @@ -509,7 +507,6 @@ class Report $documentation[$processedMetric->getName()] = $metricDocs; } } - } return $documentation; @@ -990,4 +987,4 @@ class Report { return self::getMetricsForTable($dataTable, $report, 'Piwik\\Plugin\\ProcessedMetric'); } -}
\ No newline at end of file +} |