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.

Manager   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 10
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Lib\DB\ORM;
6
7
use Lib\DB\DBAL\Configurator\DotenvConfigurator;
8
use Lib\DB\DBAL\Connection;
9
use Lib\DB\DBAL\Driver\PDODriver;
10
11
class Manager
12
{
13
    /**
14
     * @var Connection
15
     */
16
    private $conn;
17
18 1
    public function __construct(Connection $conn = null)
19
    {
20 1
        $this->conn = $conn ?? new Connection(new DotenvConfigurator(), new PDODriver());
21 1
    }
22
}
23