From: Kunal Mehta Date: Fri, 17 Aug 2018 23:15:20 +0000 (-0700) Subject: TitleValue: Avoid function call for internal property X-Git-Tag: 1.34.0-rc.0~4341^2~3 X-Git-Url: http://git.cyclocoop.org/%24dirpuce/%22%7B%7Blocalurl:Kerfiss%C3%83%C2%AD%C3%83%C2%B0a:Userlogin%7D%7D/%28?a=commitdiff_plain;h=1acbfef5213bf43b88de0c6ccd2ad01ab4cbce33;p=lhc%2Fweb%2Fwiklou.git TitleValue: Avoid function call for internal property Change-Id: I16342469a8122bd46cada11fd1f1d3f88d2e8d1e --- 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 ); } /**