|
@@ -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.