Completed
Branch master (a629f1)
by Manolo
09:41
created
DependencyInjection/MsalsasGdprConsentBannerExtension.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -15,12 +15,12 @@
 block discarded – undo
15 15
         $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
16 16
         $loader->load('services.xml');
17 17
         $config = $this->processConfiguration(new Configuration(), $configs);
18
-         $container->setParameter('msalsas_gdpr_consent_banner.has_translations', $config['has_translations']);
19
-         $container->setParameter('msalsas_gdpr_consent_banner.css', $config['css']);
20
-         $container->setParameter('msalsas_gdpr_consent_banner.fade_time', $config['fade_time']);
21
-         $container->setParameter('msalsas_gdpr_consent_banner.text_message', $config['text_message']);
22
-         $container->setParameter('msalsas_gdpr_consent_banner.accept_message', $config['accept_message']);
23
-         $container->setParameter('msalsas_gdpr_consent_banner.time_to_expire', $config['time_to_expire']);
18
+            $container->setParameter('msalsas_gdpr_consent_banner.has_translations', $config['has_translations']);
19
+            $container->setParameter('msalsas_gdpr_consent_banner.css', $config['css']);
20
+            $container->setParameter('msalsas_gdpr_consent_banner.fade_time', $config['fade_time']);
21
+            $container->setParameter('msalsas_gdpr_consent_banner.text_message', $config['text_message']);
22
+            $container->setParameter('msalsas_gdpr_consent_banner.accept_message', $config['accept_message']);
23
+            $container->setParameter('msalsas_gdpr_consent_banner.time_to_expire', $config['time_to_expire']);
24 24
     }
25 25
 
26 26
     public function prepend(ContainerBuilder $container)
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.