From 515724200956ef34bca722ac4fcdccb6f92e109a Mon Sep 17 00:00:00 2001 From: jeroendedauw Date: Fri, 25 Jan 2013 16:58:24 +0100 Subject: [PATCH] Added typehint Change-Id: Ic71419e72f8cf0a12d9ea1be84fd0fcd838337d9 --- includes/parser/ParserOutput.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.20.1