Passed
Push — master ( 78d2a2...14b91e )
by Manolo
02:25
created
Tests/ServiceTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,6 +21,6 @@
 block discarded – undo
21 21
 
22 22
         $response = $service->getResponseWithAcceptedCookie();
23 23
 
24
-        $this->assertEquals($expectedResponse , $response);
24
+        $this->assertEquals($expectedResponse, $response);
25 25
     }
26 26
 }
27 27
\ No newline at end of file
Please login to merge, or discard this patch.
Service/Service.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 
19 19
     public function getResponseWithAcceptedCookie()
20 20
     {
21
-        $cookie = Cookie::create('msalsas-gdpr-consent-banner', 'accepted', strtotime('now + ' . $this->timeToExpire));
21
+        $cookie = Cookie::create('msalsas-gdpr-consent-banner', 'accepted', strtotime('now + '.$this->timeToExpire));
22 22
         $response = new Response("accepted");
23 23
         $response->headers->setCookie($cookie);
24 24
 
Please login to merge, or discard this patch.