Index: trunk/phase3/includes/Revision.php |
— | — | @@ -186,7 +186,7 @@ |
187 | 187 | * Given a set of conditions, fetch a revision from |
188 | 188 | * the given database connection. |
189 | 189 | * |
190 | | - * @param $db Database |
| 190 | + * @param $db DatabaseBase |
191 | 191 | * @param $conditions Array |
192 | 192 | * @return Revision or null |
193 | 193 | */ |
— | — | @@ -226,7 +226,7 @@ |
227 | 227 | * which will return matching database rows with the |
228 | 228 | * fields necessary to build Revision objects. |
229 | 229 | * |
230 | | - * @param $db Database |
| 230 | + * @param $db DatabaseBase |
231 | 231 | * @param $conditions Array |
232 | 232 | * @return ResultWrapper |
233 | 233 | */ |
— | — | @@ -587,7 +587,6 @@ |
588 | 588 | * Revision::FOR_THIS_USER to be displayed to $wgUser |
589 | 589 | * Revision::RAW get the text regardless of permissions |
590 | 590 | * |
591 | | - * |
592 | 591 | * @return String |
593 | 592 | */ |
594 | 593 | public function getText( $audience = self::FOR_PUBLIC ) { |
— | — | @@ -607,7 +606,7 @@ |
608 | 607 | * @return String |
609 | 608 | */ |
610 | 609 | public function revText() { |
611 | | - wfDeprecated(); |
| 610 | + wfDeprecated( __METHOD__ ); |
612 | 611 | return $this->getText( self::FOR_THIS_USER ); |
613 | 612 | } |
614 | 613 | |
— | — | @@ -942,7 +941,7 @@ |
943 | 942 | * @param $pageId Integer: ID number of the page to read from |
944 | 943 | * @param $summary String: revision's summary |
945 | 944 | * @param $minor Boolean: whether the revision should be considered as minor |
946 | | - * @return Mixed: Revision, or null on error |
| 945 | + * @return Revision|null on error |
947 | 946 | */ |
948 | 947 | public static function newNullRevision( $dbw, $pageId, $summary, $minor ) { |
949 | 948 | wfProfileIn( __METHOD__ ); |