Skip to content

Commit

Permalink
Make statically called method static
Browse files Browse the repository at this point in the history
  • Loading branch information
cweiske committed Mar 8, 2017
1 parent e99772e commit b1f2943
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Text/Diff.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,14 +219,12 @@ static function trimNewlines(&$line, $key)
/**
* Determines the location of the system temporary directory.
*
* @static
*
* @access protected
*
* @return string A directory name which can be used for temp files.
* Returns false if one could not be found.
*/
function _getTempDir()
static function _getTempDir()
{
$tmp_locations = array('/tmp', '/var/tmp', 'c:\WUTemp', 'c:\temp',
'c:\windows\temp', 'c:\winnt\temp');
Expand Down

0 comments on commit b1f2943

Please sign in to comment.