Code Duplication    Length = 8-8 lines in 2 locations

app/Providers/RouteServiceProvider.php 2 locations

@@ 67-74 (lines=8) @@
64
     * @param  \Illuminate\Routing\Router  $router
65
     * @return void
66
     */
67
    protected function mapWebRoutes(Router $router)
68
    {
69
        $router->group([
70
            'namespace' => $this->namespace, 'middleware' => 'web',
71
        ], function ($router) {
72
            require app_path('Http/routes.php');
73
        });
74
    }
75
    /**
76
     * Define the "web" routes for the application.
77
     *
@@ 83-90 (lines=8) @@
80
     * @param  \Illuminate\Routing\Router  $router
81
     * @return void
82
     */
83
    protected function mapApiRoutes(Router $router)
84
    {
85
        $router->group([
86
            'namespace' => $this->namespace, 'middleware' => 'api',
87
        ], function ($router) {
88
            require app_path('Http/routes-api.php');
89
        });
90
    }
91
}
92