Passed
Push — main ( 8522a5...443191 )
by Sammy
16:36 queued 09:15
created
Smith.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,8 +30,9 @@
 block discarded – undo
30 30
 
31 31
     private function __construct($options = [])
32 32
     {
33
-        if(self::sessionsAreDisabled())
34
-          throw new \UnexpectedValueException(__CLASS__ . '::PHP_SESSION_DISABLED');
33
+        if(self::sessionsAreDisabled()) {
34
+                  throw new \UnexpectedValueException(__CLASS__ . '::PHP_SESSION_DISABLED');
35
+        }
35 36
 
36 37
         if(self::hasNoSession()){
37 38
           session_name($options['session_name'] ?? StateAgentInterface::DEFAULT_SESSION_NAME);
Please login to merge, or discard this patch.