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.

Loader   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 22
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A initContainer() 0 3 1
A getConfiguration() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Teebot\Configuration;
6
7
use Symfony\Component\Config\Definition\ConfigurationInterface;
8
9
class Loader extends AbstractLoader
10
{
11
    /**
12
     * Returns Configuration instance
13
     *
14
     * @return ConfigurationInterface
15
     */
16
    protected function getConfiguration(): ConfigurationInterface
17
    {
18
        return new Config();
19
    }
20
21
    /**
22
     * Returns configuration Container instance
23
     *
24
     * @param array $config
25
     *
26
     * @return ContainerInterface
27
     */
28
    protected function initContainer(array $config): ContainerInterface
29
    {
30
        return new Container($config);
31
    }
32
}
33