r93404 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93403‎ | r93404 | r93405 >
Date:17:48, 28 July 2011
Author:nikerabbit
Status:ok
Tags:
Comment:
Added typehint per my own suggestion in bug 28827. Otherwise we get pretty useless errors if Title object is not passed here.
Modified paths:
  • /trunk/phase3/includes/OutputPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/OutputPage.php
@@ -815,7 +815,7 @@
816816 *
817817 * @param $t Title object
818818 */
819 - public function setTitle( $t ) {
 819+ public function setTitle( Title $t ) {
820820 $this->getContext()->setTitle( $t );
821821 }
822822

Status & tagging log