We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da712c3 commit 37fbb76Copy full SHA for 37fbb76
Text/Diff.php
@@ -208,7 +208,7 @@ function getFinal()
208
* @param string $line The line to trim.
209
* @param integer $key The index of the line in the array. Not used.
210
*/
211
- function trimNewlines(&$line, $key)
+ static function trimNewlines(&$line, $key)
212
{
213
$line = str_replace(array("\n", "\r"), '', $line);
214
}
0 commit comments