r55263 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55262‎ | r55263 | r55264 >
Date:20:14, 18 August 2009
Author:simetrical
Status:ok
Tags:
Comment:
Fix comment to note return type on error
Modified paths:
  • /trunk/phase3/includes/Revision.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Revision.php
@@ -937,7 +937,7 @@
938938 * @param int $pageId ID number of the page to read from
939939 * @param string $summary
940940 * @param bool $minor
941 - * @return Revision
 941+ * @return mixed Revision, or null on error
942942 */
943943 public static function newNullRevision( $dbw, $pageId, $summary, $minor ) {
944944 wfProfileIn( __METHOD__ );

Status & tagging log