Code Duplication    Length = 8-8 lines in 2 locations

app/Providers/RouteServiceProvider.php 2 locations

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