Completed
Push — master ( e29670...74e61e )
by Dominik
03:04
created
src/Session.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\Session;
6 6
 
Please login to merge, or discard this patch.
src/SessionProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\Session;
6 6
 
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
         $this->registerSetCookie($container);
24 24
         $this->registerMiddleware($container);
25 25
 
26
-        $container['session'] = function () use ($container) {
26
+        $container['session'] = function() use ($container) {
27 27
             return new Session($container['logger'] ?? null);
28 28
         };
29 29
     }
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      */
48 48
     private function registerSetCookie(Container $container)
49 49
     {
50
-        $container['session.setCookie'] = function () use ($container) {
50
+        $container['session.setCookie'] = function() use ($container) {
51 51
             return SetCookie::create(SessionMiddleware::DEFAULT_COOKIE)
52 52
                 ->withHttpOnly($container['session.setCookieHttpOnly'])
53 53
                 ->withPath($container['session.setCookiePath'])
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      */
62 62
     private function registerMiddleware(Container $container)
63 63
     {
64
-        $container['session.middleware'] = function () use ($container) {
64
+        $container['session.middleware'] = function() use ($container) {
65 65
             return new SessionMiddleware(
66 66
                 new Sha256(),
67 67
                 $container['session.privateRsaKey'],
Please login to merge, or discard this patch.