Passed
Push — master ( 15df4d...c32e37 )
by Afshin
02:56
created
bootstrap/routes.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -27,18 +27,18 @@
 block discarded – undo
27 27
 
28 28
 
29 29
 
30
-$files = getDirFiles(__APP_ROOT__.'app/Routes/');
30
+$files = getDirFiles(__APP_ROOT__ . 'app/Routes/');
31 31
 /** Route Partial Loadup =================================================== */
32 32
 foreach ($files as $partial) {
33
-    $file = __APP_ROOT__.'app/Routes/'.$partial;
33
+    $file = __APP_ROOT__ . 'app/Routes/' . $partial;
34 34
 
35
-    if ( ! file_exists($file))
35
+    if (!file_exists($file))
36 36
     {
37 37
         $msg = "Route partial [{$partial}] not found.";
38 38
     }
39 39
     include $file;
40 40
 }
41
-$route->get('/', HomeController::class.':index')->setName('home');
41
+$route->get('/', HomeController::class . ':index')->setName('home');
42 42
 
43 43
 $route->resource('/user/auth', '\App\Controller\User\AuthController', $args = []);
44 44
 
Please login to merge, or discard this patch.