Completed
Push — master ( 402379...2892f0 )
by Alexis
04:36
created
src/App/Resources/routes/auth.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,11 +3,11 @@
 block discarded – undo
3 3
 use App\Middleware\GuestMiddleware;
4 4
 use App\Middleware\AuthMiddleware;
5 5
 
6
-$app->group('', function () {
6
+$app->group('', function() {
7 7
     $this->map(['GET', 'POST'], '/login', 'auth.controller:login')->setName('login');
8 8
     $this->map(['GET', 'POST'], '/register', 'auth.controller:register')->setName('register');
9 9
 })->add(new GuestMiddleware($container));
10 10
 
11
-$app->group('', function () {
11
+$app->group('', function() {
12 12
     $this->get('/logout', 'auth.controller:logout')->setName('logout');
13 13
 })->add(new AuthMiddleware($container));
Please login to merge, or discard this patch.
bootstrap/controllers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 ];
7 7
 
8 8
 foreach ($controllers as $key => $class) {
9
-    $container[$key] = function ($container) use ($class) {
9
+    $container[$key] = function($container) use ($class) {
10 10
         return new $class($container);
11 11
     };
12 12
 }
Please login to merge, or discard this patch.