@@ -138,7 +138,7 @@ |
||
138 | 138 | return true; |
139 | 139 | } |
140 | 140 | |
141 | - $headers = ['X-Cache' => \time(), 'X-Cache-ID' => $this->cacheKey]; |
|
141 | + $headers = ['X-Cache' => \time(), 'X-Cache-ID' => $this->cacheKey]; |
|
142 | 142 | |
143 | 143 | foreach ($response->getHeaders()->toArray() as $key => $value) { |
144 | 144 | if (\strpos($key, 'Access-Control-') === false) { |
@@ -62,7 +62,8 @@ |
||
62 | 62 | */ |
63 | 63 | protected function filter(\RecursiveIteratorIterator $iterator): \FilterIterator |
64 | 64 | { |
65 | - return new class($iterator) extends \FilterIterator { |
|
65 | + return new class($iterator) extends \FilterIterator |
|
66 | + { |
|
66 | 67 | public function accept(): bool |
67 | 68 | { |
68 | 69 | return $this->getInnerIterator()->current()->getExtension() === 'php'; |
@@ -52,7 +52,7 @@ |
||
52 | 52 | |
53 | 53 | static $index = -1; |
54 | 54 | |
55 | - if (++$index < $this->config['skipFirst']) { |
|
55 | + if (++ $index < $this->config['skipFirst']) { |
|
56 | 56 | return; |
57 | 57 | } |
58 | 58 |