From ab82d4f8bee0dfce8dbd7a3c5c961bc76da10334 Mon Sep 17 00:00:00 2001
From: Thomas Steur <thomas.steur@gmail.com>
Date: Tue, 21 Jul 2015 08:54:54 +0000
Subject: [PATCH] set Dimension::getId as final

---
 CHANGELOG.md               | 5 +++++
 core/Columns/Dimension.php | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index e2c1a20fa6..3740aa0639 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,11 @@
 
 This is a changelog for Piwik platform developers. All changes for our HTTP API's, Plugins, Themes, etc will be listed here.
 
+## Piwik 2.15.0
+
+### Breaking Changes
+* We marked the method `Dimension::getId()` as final.
+
 ## Piwik 2.14.0
 
 ### Breaking Changes
diff --git a/core/Columns/Dimension.php b/core/Columns/Dimension.php
index 8da3822fa9..ace9558c8b 100644
--- a/core/Columns/Dimension.php
+++ b/core/Columns/Dimension.php
@@ -149,7 +149,7 @@ abstract class Dimension
      *                   This would only happen if the dimension is located in the wrong directory.
      * @api
      */
-    public function getId()
+    final public function getId()
     {
         $className = get_class($this);
 
-- 
GitLab