Skip to content

Commit 37fbb76

Browse files
jboulencweiske
authored andcommitted
Fix strict standards error messages for PHP 5.6
1 parent da712c3 commit 37fbb76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Text/Diff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ function getFinal()
208208
* @param string $line The line to trim.
209209
* @param integer $key The index of the line in the array. Not used.
210210
*/
211-
function trimNewlines(&$line, $key)
211+
static function trimNewlines(&$line, $key)
212212
{
213213
$line = str_replace(array("\n", "\r"), '', $line);
214214
}

0 commit comments

Comments
 (0)