Code Duplication    Length = 8-8 lines in 2 locations

app/Providers/RouteServiceProvider.php 2 locations

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