From 1acbfef5213bf43b88de0c6ccd2ad01ab4cbce33 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Fri, 17 Aug 2018 16:15:20 -0700 Subject: [PATCH] TitleValue: Avoid function call for internal property Change-Id: I16342469a8122bd46cada11fd1f1d3f88d2e8d1e --- includes/title/TitleValue.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/title/TitleValue.php b/includes/title/TitleValue.php index 18e578dbb9..43a399ab1c 100644 --- a/includes/title/TitleValue.php +++ b/includes/title/TitleValue.php @@ -158,7 +158,7 @@ class TitleValue implements LinkTarget { * @return string */ public function getText() { - return str_replace( '_', ' ', $this->getDBkey() ); + return str_replace( '_', ' ', $this->dbkey ); } /** -- 2.20.1