Skip to content

Commit b1f2943

Browse files
committed
Make statically called method static
1 parent e99772e commit b1f2943

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Text/Diff.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -219,14 +219,12 @@ static function trimNewlines(&$line, $key)
219219
/**
220220
* Determines the location of the system temporary directory.
221221
*
222-
* @static
223-
*
224222
* @access protected
225223
*
226224
* @return string A directory name which can be used for temp files.
227225
* Returns false if one could not be found.
228226
*/
229-
function _getTempDir()
227+
static function _getTempDir()
230228
{
231229
$tmp_locations = array('/tmp', '/var/tmp', 'c:\WUTemp', 'c:\temp',
232230
'c:\windows\temp', 'c:\winnt\temp');

0 commit comments

Comments
 (0)