Code Duplication    Length = 8-8 lines in 2 locations

app/Providers/RouteServiceProvider.php 2 locations

@@ 53-60 (lines=8) @@
50
     * @param  \Illuminate\Routing\Router  $router
51
     * @return void
52
     */
53
    protected function mapWebRoutes(Router $router)
54
    {
55
        $router->group([
56
            'namespace' => $this->namespace, 'middleware' => 'web',
57
        ], function ($router) {
58
            require app_path('Http/routes.php');
59
        });
60
    }
61
62
    /**
63
     * Define the "api" routes for the application.
@@ 70-77 (lines=8) @@
67
     * @param  \Illuminate\Routing\Router  $router
68
     * @return void
69
     */
70
    protected function mapApiRoutes(Router $router)
71
    {
72
        $router->group([
73
            'namespace' => $this->namespace, 'middleware' => 'api',
74
        ], function ($router) {
75
            require app_path('Http/routesApi.php');
76
        });
77
    }
78
79
    /**
80
     * Define the no middleware routes for the application.