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.

Configuration   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 32
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 7
dl 0
loc 32
ccs 0
cts 12
cp 0
rs 10
c 0
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getApp() 0 3 1
A getRouterAdapter() 0 3 1
A __construct() 0 4 1
1
<?php
2
3
namespace JDolba\SlimHttpSmokeTesting;
4
5
use JDolba\SlimHttpSmokeTesting\RouterAdapter\RouterAdapterInterface;
6
use Slim\App;
7
8
final class Configuration
9
{
10
11
    /**
12
     * @var App
13
     */
14
    private $app;
15
    /**
16
     * @var RouterAdapterInterface
17
     */
18
    private $routerAdapter;
19
20
    public function __construct(App $app, RouterAdapterInterface $routerAdapter)
21
    {
22
        $this->app = $app;
23
        $this->routerAdapter = $routerAdapter;
24
    }
25
26
    /**
27
     * @return \Slim\App
28
     */
29
    public function getApp(): App
30
    {
31
        return $this->app;
32
    }
33
34
    /**
35
     * @return \JDolba\SlimHttpSmokeTesting\RouterAdapter\RouterAdapterInterface
36
     */
37
    public function getRouterAdapter(): RouterAdapterInterface
38
    {
39
        return $this->routerAdapter;
40
    }
41
}
42