Added typehint per my own suggestion in bug 28827. Otherwise we get pretty useless...
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Thu, 28 Jul 2011 17:48:35 +0000 (17:48 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Thu, 28 Jul 2011 17:48:35 +0000 (17:48 +0000)
includes/OutputPage.php

index 8a90c1d..6579b21 100644 (file)
@@ -815,7 +815,7 @@ class OutputPage {
         *
         * @param $t Title object
         */
-       public function setTitle( $t ) {
+       public function setTitle( Title $t ) {
                $this->getContext()->setTitle( $t );
        }