diff options
author | Stefan Giehl <stefan@matomo.org> | 2022-09-07 12:23:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-07 12:23:11 +0300 |
commit | b4eacdd27dfd94e75cefc138127d9aab97b5add3 (patch) | |
tree | bd93e3456823378cf05222d27356fbac42973911 /plugins/CustomDimensions | |
parent | 507bdff0051582ace53eddbbfdab0ff86df4992e (diff) |
Fix couple of PHP8.2 deprecation warnings (#19690)
Diffstat (limited to 'plugins/CustomDimensions')
-rw-r--r-- | plugins/CustomDimensions/Dimension/CustomActionDimension.php | 3 | ||||
-rw-r--r-- | plugins/CustomDimensions/GetCustomDimension.php | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/CustomDimensions/Dimension/CustomActionDimension.php b/plugins/CustomDimensions/Dimension/CustomActionDimension.php index 02ea214842..4f9263efac 100644 --- a/plugins/CustomDimensions/Dimension/CustomActionDimension.php +++ b/plugins/CustomDimensions/Dimension/CustomActionDimension.php @@ -17,6 +17,9 @@ use Piwik\Plugins\CustomDimensions\Tracker\CustomDimensionsRequestProcessor; */ class CustomActionDimension extends ActionDimension { + protected $idDimension = null; + protected $actualName = null; + public function __construct($column, $name, $idDimension) { $this->columnName = $column; diff --git a/plugins/CustomDimensions/GetCustomDimension.php b/plugins/CustomDimensions/GetCustomDimension.php index 709cb3848d..7c230e612a 100644 --- a/plugins/CustomDimensions/GetCustomDimension.php +++ b/plugins/CustomDimensions/GetCustomDimension.php @@ -198,8 +198,6 @@ class GetCustomDimension extends Report public function initThisReportFromDimension($dimension) { $this->name = $dimension['name']; - $this->menuTitle = $this->name; - $this->widgetTitle = $this->name; $this->scopeOfDimension = $dimension['scope']; $this->subcategoryId = 'customdimension' . $dimension['idcustomdimension']; $dimensionField = CustomDimensionsRequestProcessor::buildCustomDimensionTrackingApiName($dimension); |