From: addshore Date: Mon, 1 Jun 2015 11:05:58 +0000 (+0100) Subject: Fix some RecentChange phpdoc return types X-Git-Tag: 1.31.0-rc.0~11236^2 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=f5e08902a77a515a077271cc219904360d64b3a6;p=lhc%2Fweb%2Fwiklou.git Fix some RecentChange phpdoc return types Change-Id: I3e75a97f7fc76e2dc052463511e32f330cfca9ce --- diff --git a/includes/changes/RecentChange.php b/includes/changes/RecentChange.php index 7ea677723c..13e94db329 100644 --- a/includes/changes/RecentChange.php +++ b/includes/changes/RecentChange.php @@ -164,7 +164,7 @@ class RecentChange { * Obtain the recent change with a given rc_id value * * @param int $rcid The rc_id value to retrieve - * @return RecentChange + * @return RecentChange|null */ public static function newFromId( $rcid ) { return self::newFromConds( array( 'rc_id' => $rcid ), __METHOD__ ); @@ -176,7 +176,7 @@ class RecentChange { * @param array $conds Array of conditions * @param mixed $fname Override the method name in profiling/logs * @param array $options Query options - * @return RecentChange + * @return RecentChange|null */ public static function newFromConds( $conds, $fname = __METHOD__, $options = array() ) { $dbr = wfGetDB( DB_SLAVE );