Code Duplication    Length = 9-9 lines in 2 locations

server/app/Providers/RouteServiceProvider.php 2 locations

@@ 52-60 (lines=9) @@
49
    /**
50
     * @param Router $router
51
     */
52
    protected function mapApiRoutes(Router $router): void
53
    {
54
        $attributes = [
55
            'middleware' => 'api',
56
            'namespace'  => $this->namespace,
57
        ];
58
59
        $router->group($attributes, base_path('routes/api.php'));
60
    }
61
62
    /**
63
     * @param Router $router
@@ 65-73 (lines=9) @@
62
    /**
63
     * @param Router $router
64
     */
65
    protected function mapWebRoutes(Router $router): void
66
    {
67
        $attributes = [
68
            'middleware' => 'web',
69
            'namespace'  => $this->namespace,
70
        ];
71
72
        $router->group($attributes, base_path('routes/web.php'));
73
    }
74
}
75