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 ( 414922...a9bc98 )
by butschster
12:35
created

Installator   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 36
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
A installed() 0 4 1
1
<?php
2
3
namespace SleepingOwl\Admin\Console\Installation;
4
5
use Illuminate\Config\Repository;
6
use SleepingOwl\Admin\Contracts\Console\Installator as InstallatorContract;
7
8
abstract class Installator implements InstallatorContract
9
{
10
    /**
11
     * The console command instance.
12
     *
13
     * @var \Illuminate\Console\Command
14
     */
15
    protected $command;
16
17
    /**
18
     * @var Repository
19
     */
20
    protected $config;
21
22
    /**
23
     * Create a new installer instance.
24
     *
25
     * @param \SleepingOwl\Admin\Console\Commands\InstallCommand $command
26
     * @param Repository $config
27
     */
28
    public function __construct($command, Repository $config)
29
    {
30
        $this->command = $command;
31
        $this->config = $config;
32
    }
33
34
    /**
35
     * При возврате методом true данный компонент будет пропущен.
36
     *
37
     * @return bool
38
     */
39
    public function installed()
40
    {
41
        return false;
42
    }
43
}
44