Completed
Push — master ( 9dc7a1...f93fd3 )
by Dominik
06:18 queued 04:18
created
src/SessionProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -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.