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.

Install   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 4

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 4
dl 0
loc 26
c 0
b 0
f 0
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getModule() 0 4 1
A getProviderTableName() 0 4 1
A getIdentityTableName() 0 4 1
1
<?php
2
3
namespace flipbox\saml\idp\migrations;
4
5
use flipbox\saml\core\migrations\AbstractInstall;
6
use flipbox\saml\idp\records\ProviderIdentityRecord;
7
use flipbox\saml\idp\records\ProviderRecord;
8
use flipbox\saml\idp\Saml;
9
use yii\base\Module;
10
11
/**
12
 * @author Flipbox Factory <[email protected]>
13
 * @since 1.0.0
14
 */
15
class Install extends AbstractInstall
16
{
17
    /**
18
     * @inheritdoc
19
     */
20
    protected function getModule(): Module
21
    {
22
        return Saml::getInstance();
23
    }
24
25
    /**
26
     * @inheritdoc
27
     */
28
    protected function getProviderTableName(): string
29
    {
30
        return ProviderRecord::tableName();
31
    }
32
33
    /**
34
     * @inheritdoc
35
     */
36
    protected function getIdentityTableName(): string
37
    {
38
        return ProviderIdentityRecord::tableName();
39
    }
40
}
41