Code Duplication    Length = 8-8 lines in 2 locations

app/Providers/RouteServiceProvider.php 2 locations

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