@@ -37,8 +37,8 @@ discard block |
||
| 37 | 37 | { |
| 38 | 38 | $this->_path = $path; |
| 39 | 39 | |
| 40 | - /** @noinspection PhpUsageOfSilenceOperatorInspection */ |
|
| 41 | - if ( |
|
| 40 | + /** @noinspection PhpUsageOfSilenceOperatorInspection */ |
|
| 41 | + if ( |
|
| 42 | 42 | !file_exists($this->_path) |
| 43 | 43 | && |
| 44 | 44 | !@mkdir($this->_path, 0777, true) |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | return false; |
| 108 | 108 | } |
| 109 | 109 | return fclose($fp); |
| 110 | - } |
|
| 110 | + } |
|
| 111 | 111 | |
| 112 | 112 | /* The file already exists, we try a longer fileName */ |
| 113 | 113 | $fileName .= $this->getRandomString(1); |
@@ -101,8 +101,8 @@ |
||
| 101 | 101 | return $staticStrtolowerCache[$string]; |
| 102 | 102 | } |
| 103 | 103 | |
| 104 | - $staticStrtolowerCache[$string] = strtolower($string); |
|
| 104 | + $staticStrtolowerCache[$string] = strtolower($string); |
|
| 105 | 105 | |
| 106 | - return $staticStrtolowerCache[$string]; |
|
| 106 | + return $staticStrtolowerCache[$string]; |
|
| 107 | 107 | } |
| 108 | 108 | } |