From 5f249dda0ffaea1353abe6b95720354adb205b94 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Thu, 28 Jul 2011 17:48:35 +0000 Subject: [PATCH] Added typehint per my own suggestion in bug 28827. Otherwise we get pretty useless errors if Title object is not passed here. --- includes/OutputPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } -- 2.20.1