Completed
Push — master ( c13fa6...4234db )
by Julián
02:45
created
src/CacheWare.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
 
127 127
         $currentDate = new \DateTime('now', new \DateTimeZone('UTC'));
128 128
         $expireDate = clone $currentDate;
129
-        $expireDate->modify('+' . $maxAge . ' seconds');
129
+        $expireDate->modify('+'.$maxAge.' seconds');
130 130
 
131 131
         return $response
132 132
             ->withAddedHeader(
Please login to merge, or discard this patch.
tests/bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,4 +7,4 @@
 block discarded – undo
7 7
  * @author Julián Gutiérrez <[email protected]>
8 8
  */
9 9
 
10
-require __DIR__ . '/../vendor/autoload.php';
10
+require __DIR__.'/../vendor/autoload.php';
Please login to merge, or discard this patch.
tests/Middleware/CacheWareTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     {
41 41
         $this->request = ServerRequestFactory::fromGlobals();
42 42
         $this->response = new Response;
43
-        $this->callback = function ($request, $response) {
43
+        $this->callback = function($request, $response) {
44 44
             return $response;
45 45
         };
46 46
     }
Please login to merge, or discard this patch.