Passed
Push — feature/store-usage-of-sso-coo... ( e5beec...31ab20 )
by Michiel
04:35
created
src/Surfnet/StepupGateway/GatewayBundle/Saml/ResponseContext.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
         $this->samlEntityService      = $samlEntityService;
83 83
         $this->stateHandler           = $stateHandler;
84 84
         $this->logger                 = $logger;
85
-        $this->generationTime         = is_null($now) ? new DateTime('now', new DateTimeZone('UTC')): $now;
85
+        $this->generationTime         = is_null($now) ? new DateTime('now', new DateTimeZone('UTC')) : $now;
86 86
     }
87 87
 
88 88
     /**
@@ -341,7 +341,7 @@  discard block
 block discarded – undo
341 341
 
342 342
     public function isVerifiedBySsoOn2faCookie(): bool
343 343
     {
344
-        $isVerified = $this->stateHandler->isVerifiedBySsoOn2faCookie() ? 'YES': 'NO';
344
+        $isVerified = $this->stateHandler->isVerifiedBySsoOn2faCookie() ? 'YES' : 'NO';
345 345
         $this->logger->notice(sprintf('Read isVerifiedBySsoOn2faCookie %s', $isVerified));
346 346
         return $this->stateHandler->isVerifiedBySsoOn2faCookie();
347 347
     }
Please login to merge, or discard this patch.