Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2013-10-08 09:24:28 +0400
committermattab <matthieu.aubry@gmail.com>2013-10-08 09:24:28 +0400
commit1fa8da9b963e99e08c829fe6491e8ccf2d1054e2 (patch)
tree137c50850a5f21f1651f8066d4bd381a661e1987 /core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php
parentfcbef99dbf93df94ff5ed4cfaa5eeebfcf4aac14 (diff)
Applying phpstorm code style PSR refs #3771
Diffstat (limited to 'core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php')
-rw-r--r--core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php b/core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php
index 8a0e335681..51fe770217 100644
--- a/core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php
+++ b/core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php
@@ -11,7 +11,6 @@
namespace Piwik\DataTable\Filter;
use Exception;
-
use Piwik\DataTable;
use Piwik\Metrics;
use Piwik\Piwik;
@@ -48,8 +47,8 @@ class AddColumnsProcessedMetricsGoal extends AddColumnsProcessedMetrics
* - revenue per visit
*
* @param DataTable $table
- * @param bool $enable should be true (automatically set to true when filter_update_columns_when_show_all_goals is found in the API request)
- * @param string $processOnlyIdGoal Defines what metrics to add (don't process metrics when you don't display them)
+ * @param bool $enable should be true (automatically set to true when filter_update_columns_when_show_all_goals is found in the API request)
+ * @param string $processOnlyIdGoal Defines what metrics to add (don't process metrics when you don't display them)
* If self::GOALS_FULL_TABLE, all Goal metrics (and per goal metrics) will be processed
* If self::GOALS_OVERVIEW, only the main goal metrics will be added
* If an int > 0, then will process only metrics for this specific Goal
@@ -121,7 +120,7 @@ class AddColumnsProcessedMetricsGoal extends AddColumnsProcessedMetrics
foreach ($goals as $goalId => $columnValue) {
$goalId = str_replace("idgoal=", "", $goalId);
if (($this->processOnlyIdGoal > self::GOALS_FULL_TABLE
- || $this->isEcommerce)
+ || $this->isEcommerce)
&& $this->processOnlyIdGoal != $goalId
) {
continue;