Completed
Push — master ( 97f6b5...9ef69c )
by Matze
08:25
created
src/Middleware/Cache.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     public function processRequest(Request $request, Route $route)
30 30
     {
31 31
         if (!$route->hasOption('cache') || !$request->isMethod('GET')) {
32
-           // return null;
32
+            // return null;
33 33
         }
34 34
 
35 35
         $cacheKey = $this->generateCacheKey($request);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,6 +112,6 @@
 block discarded – undo
112 112
      */
113 113
     private function generateCacheKey(Request $request) : string
114 114
     {
115
-        return self::PREFIX . str_replace('/', '#', $request->getRequestUri());
115
+        return self::PREFIX.str_replace('/', '#', $request->getRequestUri());
116 116
     }
117 117
 }
Please login to merge, or discard this patch.
scripts/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,10 +5,10 @@
 block discarded – undo
5 5
 use Symfony\Component\HttpFoundation\Request;
6 6
 
7 7
 /** @var Container $dic */
8
-$dic = include __DIR__ . '/../src/bootstrap.php';
8
+$dic = include __DIR__.'/../src/bootstrap.php';
9 9
 
10 10
 $request = Request::createFromGlobals();
11 11
 
12 12
 /** @var AppKernel $kernel */
13
-$kernel   = $dic->get(AppKernel::class);
13
+$kernel = $dic->get(AppKernel::class);
14 14
 $kernel->handle($request);
Please login to merge, or discard this patch.