Completed
Branch master (27bf67)
by Dominik
03:36
created
Category
src/SessionProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
         $container['session.setCookiePath'] = '/';
26 26
         $container['session.setCookieSecureOnly'] = true;
27 27
 
28
-        $container['session.middleware'] = function () use ($container) {
28
+        $container['session.middleware'] = function() use ($container) {
29 29
             return new SessionMiddleware(
30 30
                 new Sha256(),
31 31
                 $container['session.privateRsaKey'],
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
             );
38 38
         };
39 39
 
40
-        $container['session.setCookie'] = function () use ($container) {
40
+        $container['session.setCookie'] = function() use ($container) {
41 41
             return SetCookie::create(SessionMiddleware::DEFAULT_COOKIE)
42 42
                 ->withHttpOnly($container['session.setCookieHttpOnly'])
43 43
                 ->withPath($container['session.setCookiePath'])
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
             ;
46 46
         };
47 47
 
48
-        $container['session'] = function () {
48
+        $container['session'] = function() {
49 49
             return new Session();
50 50
         };
51 51
     }
Please login to merge, or discard this patch.