From: jeroendedauw Date: Fri, 25 Jan 2013 15:58:24 +0000 (+0100) Subject: Added typehint X-Git-Tag: 1.31.0-rc.0~20912 X-Git-Url: https://git.cyclocoop.org//%22?a=commitdiff_plain;h=515724200956ef34bca722ac4fcdccb6f92e109a;p=lhc%2Fweb%2Fwiklou.git Added typehint Change-Id: Ic71419e72f8cf0a12d9ea1be84fd0fcd838337d9 --- diff --git a/includes/parser/ParserOutput.php b/includes/parser/ParserOutput.php index 5dddb00cb1..822b31b81b 100644 --- a/includes/parser/ParserOutput.php +++ b/includes/parser/ParserOutput.php @@ -189,7 +189,7 @@ class ParserOutput extends CacheTime { * @param $title Title object * @param $id Mixed: optional known page_id so we can skip the lookup */ - function addLink( $title, $id = null ) { + function addLink( Title $title, $id = null ) { if ( $title->isExternal() ) { // Don't record interwikis in pagelinks $this->addInterwikiLink( $title );