@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | $directory = new \RecursiveDirectoryIterator($webroot); |
| 27 | 27 | $directory = new \RecursiveIteratorIterator($directory); |
| 28 | 28 | $directory = iterator_to_array($directory); |
| 29 | - usort($directory, function ($a, $b) { |
|
| 29 | + usort($directory, function($a, $b) { |
|
| 30 | 30 | return $a->getPathname() <=> $b->getPathname(); |
| 31 | 31 | }); |
| 32 | 32 | foreach ($directory as $fileinfo) { |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | { |
| 80 | 80 | $path = $request->getUri()->getPath(); |
| 81 | 81 | |
| 82 | - return $this->cache->get($path)->then(function ($item) use ($next, $request) { |
|
| 82 | + return $this->cache->get($path)->then(function($item) use ($next, $request) { |
|
| 83 | 83 | if ($item === null) { |
| 84 | 84 | return $next($request); |
| 85 | 85 | } |