https://www.mediawiki.org/wiki/Special:Code/MediaWiki/111968

Revision: 111968
Author:   ialex
Date:     2012-02-20 21:48:01 +0000 (Mon, 20 Feb 2012)
Log Message:
-----------
fix documentation: WikiPage::newFromID() can return null

Modified Paths:
--------------
    trunk/phase3/includes/WikiPage.php

Modified: trunk/phase3/includes/WikiPage.php
===================================================================
--- trunk/phase3/includes/WikiPage.php  2012-02-20 21:39:33 UTC (rev 111967)
+++ trunk/phase3/includes/WikiPage.php  2012-02-20 21:48:01 UTC (rev 111968)
@@ -118,7 +118,7 @@
         *
         * @param $id Int article ID to load
         *
-        * @return WikiPage
+        * @return WikiPage|null
         */
        public static function newFromID( $id ) {
                $t = Title::newFromID( $id );


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to