Completed
Pull Request — master (#10)
by Korotkov
01:35
created
app/app.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,9 +17,9 @@
 block discarded – undo
17 17
         'annotation' => ['Rudra\Annotations'],
18 18
         'validation' => ['Rudra\Validation'],
19 19
         'auth'       => ['Rudra\Auth'],
20
-        'redirect'   => ['Rudra\Redirect',  ['config'    => Container::$app->config('uri')]],
20
+        'redirect'   => ['Rudra\Redirect', ['config'    => Container::$app->config('uri')]],
21 21
         'dbClass'    => ['Rudra\ConnectDB', ['config'    => Container::$app->config('database')]],
22
-        'router'     => ['Rudra\Router',    ['namespace' => Container::$app->config('namespaces', 'default'), 'templateEngine' => Container::$app->config('template.engine')]],
22
+        'router'     => ['Rudra\Router', ['namespace' => Container::$app->config('namespaces', 'default'), 'templateEngine' => Container::$app->config('template.engine')]],
23 23
         'route'      => ['App\Route']
24 24
     ]
25 25
 ];
Please login to merge, or discard this patch.
app/Http/route.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     {
14 14
         $router->setNamespace($namespace);
15 15
         
16
-        $router->annotation('MainController');              // mainpage
16
+        $router->annotation('MainController'); // mainpage
17 17
 
18 18
         $router->middleware('get', [
19 19
                 'pattern'     => '123/123',
Please login to merge, or discard this patch.