Passed
Pull Request — master (#19)
by Jitendra
02:06
created
src/Http/Middleware/Cache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/Util/OpcachePrimer.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,8 @@
 block discarded – undo
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';
Please login to merge, or discard this patch.
src/Db/Logger.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.