diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2020-11-30 05:53:03 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-30 05:53:03 +0300 |
commit | fc2e8a5ea1d37a8db37e9e2330ba67faacdc71a2 (patch) | |
tree | c69b13e5af3b94e13034c4630e218ff3a54e273d /core | |
parent | 23739ca598715496e29323f44d1d800a22e3db07 (diff) |
Improve php8 compatibility (#16838)
Diffstat (limited to 'core')
-rw-r--r-- | core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php b/core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php index 8b12e03cdf..9840c9c6b6 100644 --- a/core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php +++ b/core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php @@ -83,7 +83,7 @@ class AddColumnsProcessedMetricsGoal extends AddColumnsProcessedMetrics * 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. */ - public function __construct($table, $enable = true, $processOnlyIdGoal, $goalsToProcess = null) + public function __construct($table, $enable, $processOnlyIdGoal, $goalsToProcess = null) { $this->processOnlyIdGoal = $processOnlyIdGoal; $this->isEcommerce = $this->processOnlyIdGoal === Piwik::LABEL_ID_GOAL_IS_ECOMMERCE_ORDER || $this->processOnlyIdGoal === Piwik::LABEL_ID_GOAL_IS_ECOMMERCE_CART; |