From: Niklas Laxström Date: Thu, 28 Jul 2011 17:48:35 +0000 (+0000) Subject: Added typehint per my own suggestion in bug 28827. Otherwise we get pretty useless... X-Git-Tag: 1.31.0-rc.0~28559 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=5f249dda0ffaea1353abe6b95720354adb205b94;p=lhc%2Fweb%2Fwiklou.git Added typehint per my own suggestion in bug 28827. Otherwise we get pretty useless errors if Title object is not passed here. --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 8a90c1da22..6579b217cd 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -815,7 +815,7 @@ class OutputPage { * * @param $t Title object */ - public function setTitle( $t ) { + public function setTitle( Title $t ) { $this->getContext()->setTitle( $t ); }