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.
Completed
Push — master ( d3c85b...762189 )
by Ryun
13:49
created

RouteServiceProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 2
dl 0
loc 26
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A map() 0 6 1
1
<?php
2
3
namespace Humweb\Sociable;
4
5
use Illuminate\Routing\Router;
6
7
class RouteServiceProvider extends \Illuminate\Foundation\Support\Providers\RouteServiceProvider
8
{
9
    /**
10
     * This namespace is applied to the controller routes in your routes file.
11
     *
12
     * In addition, it is set as the URL generator's root namespace.
13
     *
14
     * @var string
15
     */
16
    protected $namespace = 'Humweb\Sociable\Http\Controllers';
17
18
19
    /**
20
     * Define the routes for the application.
21
     *
22
     * @param  \Illuminate\Routing\Router $router
23
     *
24
     * @return void
25
     */
26
    public function map(Router $router)
27
    {
28
        $router->group(['namespace' => $this->namespace], function($router) {
29
            require __DIR__.'/Http/routes.php';
30
        });
31
    }
32
}
33