From 1b6a66bbc7583c11c97f83d19902f65a502229c1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Fri, 23 May 2008 07:20:52 +0000 Subject: [PATCH] * PHP Strict Standards: Only variables should be passed by reference in <> --- includes/Revision.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/includes/Revision.php b/includes/Revision.php index d043e15800..2fd9d3ffa8 100644 --- a/includes/Revision.php +++ b/includes/Revision.php @@ -35,10 +35,8 @@ class Revision { * @param Title $title * @param int $id * @return Revision - * @access public - * @static */ - public static function newFromTitle( &$title, $id = 0 ) { + public static function newFromTitle( $title, $id = 0 ) { if( $id ) { $matchId = intval( $id ); } else { -- 2.20.1