From: Ori Livneh Date: Thu, 18 Apr 2013 21:57:03 +0000 (-0700) Subject: Fix @return type hint for Title::newFromID X-Git-Tag: 1.31.0-rc.0~19952 X-Git-Url: http://git.cyclocoop.org/%22%20.%20%20%20%24self2%20.%20%20%20%22&var_mode_affiche=boucle?a=commitdiff_plain;h=0bb7a68398499c81c19f5c4fbb3c2d0912cef8e5;p=lhc%2Fweb%2Fwiklou.git Fix @return type hint for Title::newFromID Change-Id: I7f9ff81b91dcabb68c9c86eedf391b3e6160c6d4 --- diff --git a/includes/Title.php b/includes/Title.php index d0ac97bac8..6acffa0a69 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -225,7 +225,7 @@ class Title { * * @param int $id the page_id corresponding to the Title to create * @param int $flags use Title::GAID_FOR_UPDATE to use master - * @return Title the new object, or NULL on an error + * @return Title|null the new object, or NULL on an error */ public static function newFromID( $id, $flags = 0 ) { $db = ( $flags & self::GAID_FOR_UPDATE ) ? wfGetDB( DB_MASTER ) : wfGetDB( DB_SLAVE );