Passed
Pull Request — master (#45)
by Andrey
13:21
created
examples/spiral/app.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,5 +27,5 @@
 block discarded – undo
27 27
     exit(255);
28 28
 }
29 29
 
30
-$code = (int)$app->serve();
30
+$code = (int) $app->serve();
31 31
 exit($code);
Please login to merge, or discard this patch.
spiral/app/src/Application/Bootloader/ExceptionHandlerBootloader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
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());
Please login to merge, or discard this patch.
examples/spiral/app/config/session.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 ];
Please login to merge, or discard this patch.