Completed
Push — master ( ab842b...870e7f )
by
unknown
02:49
created
src/Charcoal/Admin/AdminModule.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,11 +44,11 @@  discard block
 block discarded – undo
44 44
         $container = $this->app()->getContainer();
45 45
 
46 46
         $module = $this;
47
-        $container['charcoal/admin/module'] = function ($c) use ($module) {
47
+        $container['charcoal/admin/module'] = function($c) use ($module) {
48 48
             return $module;
49 49
         };
50 50
 
51
-        $container['charcoal/admin/config'] = function ($c) {
51
+        $container['charcoal/admin/config'] = function($c) {
52 52
             $config = new AdminConfig();
53 53
 
54 54
             if ($c['config']->has('admin')) {
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
         if (isset($config['routes']['default_view'])) {
68 68
             $this->app()->get(
69 69
                 $group,
70
-                function (RequestInterface $request, ResponseInterface $response) use ($group, $config) {
70
+                function(RequestInterface $request, ResponseInterface $response) use ($group, $config) {
71 71
                     return $response->withRedirect(
72 72
                         $group.'/'.ltrim($config['routes']['default_view'], '/'),
73 73
                         303
Please login to merge, or discard this patch.