GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

MiniCmsAdminRouteServiceProvider::map()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Chadanuk\MiniCms;
4
5
use Illuminate\Support\Facades\Route;
6
use Illuminate\Foundation\Support\Providers\RouteServiceProvider;
7
8
class MiniCmsAdminRouteServiceProvider extends RouteServiceProvider
9
{
10
    /**
11
     * This namespace is applied to your controller routes.
12
     *
13
     * In addition, it is set as the URL generator's root namespace.
14
     *
15
     * @var string
16
     */
17
    protected $namespace = 'Chadanuk\MiniCms\Http\Controllers';
18
19
    /**
20
     * Define your route model bindings, pattern filters, etc.
21
     *
22
     * @return void
23
     */
24
    public function boot()
25
    {
26
        //
27
28
        parent::boot();
29
    }
30
31
    /**
32
     * Define the routes for the application.
33
     *
34
     * @return void
35
     */
36
    public function map()
37
    {
38
        $this->mapWebRoutes();
39
    }
40
41
    /**
42
     * Define the "web" routes for the application.
43
     *
44
     * These routes all receive session state, CSRF protection, etc.
45
     *
46
     * @return void
47
     */
48
    protected function mapWebRoutes()
49
    {
50
        Route::prefix(config('mini-cms.admin-path') . '/mini-cms')
51
            ->middleware('auth')
52
            ->namespace($this->namespace)
53
            ->group(__DIR__ . ('../../routes/admin.php'));
54
    }
55
}
56