@@ -27,5 +27,5 @@ |
||
27 | 27 | exit(255); |
28 | 28 | } |
29 | 29 | |
30 | -$code = (int)$app->serve(); |
|
30 | +$code = (int) $app->serve(); |
|
31 | 31 | exit($code); |
@@ -39,7 +39,7 @@ |
||
39 | 39 | // is running in the console. |
40 | 40 | $this->handler->addRenderer(new ConsoleRenderer()); |
41 | 41 | |
42 | - $kernel->running(function (): void { |
|
42 | + $kernel->running(function(): void { |
|
43 | 43 | // Register the JSON renderer, that will be used when the application is |
44 | 44 | // running in the HTTP context and a JSON response is expected. |
45 | 45 | $this->handler->addRenderer(new JsonRenderer()); |
@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | * @link https://spiral.dev/docs/basics-session |
11 | 11 | */ |
12 | 12 | return [ |
13 | - 'lifetime' => (int)env('SESSION_LIFETIME', 86400), |
|
13 | + 'lifetime' => (int) env('SESSION_LIFETIME', 86400), |
|
14 | 14 | 'cookie' => env('SESSION_COOKIE', 'sid'), |
15 | 15 | 'secure' => true, |
16 | 16 | 'sameSite' => null, |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | FileHandler::class, |
19 | 19 | [ |
20 | 20 | 'directory' => directory('runtime') . 'session', |
21 | - 'lifetime' => (int)env('SESSION_LIFETIME', 86400), |
|
21 | + 'lifetime' => (int) env('SESSION_LIFETIME', 86400), |
|
22 | 22 | ] |
23 | 23 | ), |
24 | 24 | ]; |