@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | if ($path === '') { |
| 60 | 60 | return $this->getRoot(); |
| 61 | 61 | } else { |
| 62 | - return $this->getRoot() . '/' . ltrim($path, '/'); |
|
| 62 | + return $this->getRoot().'/'.ltrim($path, '/'); |
|
| 63 | 63 | } |
| 64 | 64 | } |
| 65 | 65 | |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | $rootLength = strlen($this->getRoot()) + 1; |
| 75 | 75 | if ($path === $this->getRoot()) { |
| 76 | 76 | return ''; |
| 77 | - } else if (substr($path, 0, $rootLength) === $this->getRoot() . '/') { |
|
| 77 | + } else if (substr($path, 0, $rootLength) === $this->getRoot().'/') { |
|
| 78 | 78 | return substr($path, $rootLength); |
| 79 | 79 | } else { |
| 80 | 80 | return null; |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | |
| 95 | 95 | protected function filterCacheEntry($entry) { |
| 96 | 96 | $rootLength = strlen($this->getRoot()) + 1; |
| 97 | - return $rootLength === 1 || ($entry['path'] === $this->getRoot()) || (substr($entry['path'], 0, $rootLength) === $this->getRoot() . '/'); |
|
| 97 | + return $rootLength === 1 || ($entry['path'] === $this->getRoot()) || (substr($entry['path'], 0, $rootLength) === $this->getRoot().'/'); |
|
| 98 | 98 | } |
| 99 | 99 | |
| 100 | 100 | /** |