Completed
Push — master ( 07f5b2...728dae )
by Dominik
02:14
created
src/SessionProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
         $this->registerSetCookie($container);
22 22
         $this->registerMiddleware($container);
23 23
 
24
-        $container['session'] = function () {
24
+        $container['session'] = function() {
25 25
             return new Session();
26 26
         };
27 27
     }
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      */
46 46
     private function registerSetCookie(Container $container)
47 47
     {
48
-        $container['session.setCookie'] = function () use ($container) {
48
+        $container['session.setCookie'] = function() use ($container) {
49 49
             return SetCookie::create(SessionMiddleware::DEFAULT_COOKIE)
50 50
                 ->withHttpOnly($container['session.setCookieHttpOnly'])
51 51
                 ->withPath($container['session.setCookiePath'])
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      */
60 60
     private function registerMiddleware(Container $container)
61 61
     {
62
-        $container['session.middleware'] = function () use ($container) {
62
+        $container['session.middleware'] = function() use ($container) {
63 63
             return new SessionMiddleware(
64 64
                 new Sha256(),
65 65
                 $container['session.privateRsaKey'],
Please login to merge, or discard this patch.