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.

OAuthIdentity   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A configureTable() 0 4 1
A getTable() 0 4 1
1
<?php namespace AdamWathan\EloquentOAuth;
2
3
use Illuminate\Database\Eloquent\Model as Eloquent;
4
use Config;
5
6
/**
7
 * @property $id
8
 * @property $user_id
9
 * @property $provider
10
 * @property $provider_user_id
11
 * @property $access_token
12
 */
13
class OAuthIdentity extends Eloquent
14
{
15
    protected static $configuredTable = 'oauth_identities';
16
17
    public static function configureTable($table)
18
    {
19
        static::$configuredTable = $table;
20
    }
21
22
    public function getTable()
23
    {
24
        return static::$configuredTable;
25
    }
26
}
27