@@ -138,7 +138,7 @@ discard block |
||
| 138 | 138 | ); |
| 139 | 139 | |
| 140 | 140 | $httpException->setTitle('Service Unavailable') |
| 141 | - ->setDescription($message); |
|
| 141 | + ->setDescription($message); |
|
| 142 | 142 | |
| 143 | 143 | // TODO Add headers |
| 144 | 144 | throw $httpException; |
@@ -258,10 +258,10 @@ discard block |
||
| 258 | 258 | $sessionCookieConfig = $this->config->get('session.cookie', []); |
| 259 | 259 | |
| 260 | 260 | $cookie->withExpires($expire) |
| 261 | - ->withPath($sessionCookieConfig['path'] ?? null) |
|
| 262 | - ->withDomain($sessionCookieConfig['domain'] ?? null) |
|
| 263 | - ->withSecure($sessionCookieConfig['secure'] ?? false) |
|
| 264 | - ->withHttpOnly(true); |
|
| 261 | + ->withPath($sessionCookieConfig['path'] ?? null) |
|
| 262 | + ->withDomain($sessionCookieConfig['domain'] ?? null) |
|
| 263 | + ->withSecure($sessionCookieConfig['secure'] ?? false) |
|
| 264 | + ->withHttpOnly(true); |
|
| 265 | 265 | |
| 266 | 266 | |
| 267 | 267 | return $cookie; |