r35216 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r35215‎ | r35216 | r35217 >
Date:07:20, 23 May 2008
Author:nikerabbit
Status:old
Tags:
Comment:
* PHP Strict Standards: Only variables should be passed by reference in <>
Modified paths:
  • /trunk/phase3/includes/Revision.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Revision.php
@@ -35,10 +35,8 @@
3636 * @param Title $title
3737 * @param int $id
3838 * @return Revision
39 - * @access public
40 - * @static
4139 */
42 - public static function newFromTitle( &$title, $id = 0 ) {
 40+ public static function newFromTitle( $title, $id = 0 ) {
4341 if( $id ) {
4442 $matchId = intval( $id );
4543 } else {

Status & tagging log