Fix comment to note return type on error
authorAryeh Gregor <simetrical@users.mediawiki.org>
Tue, 18 Aug 2009 20:14:23 +0000 (20:14 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Tue, 18 Aug 2009 20:14:23 +0000 (20:14 +0000)
includes/Revision.php

index c84aa55..308df6f 100644 (file)
@@ -937,7 +937,7 @@ class Revision {
         * @param int      $pageId ID number of the page to read from
         * @param string   $summary
         * @param bool     $minor
-        * @return Revision
+        * @return mixed Revision, or null on error
         */
        public static function newNullRevision( $dbw, $pageId, $summary, $minor ) {
                wfProfileIn( __METHOD__ );