BaseRepository::getDb()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace App\Repository;
6
7
abstract class BaseRepository
8
{
9
    protected $database;
10
11
    protected function getDb(): \PDO
12
    {
13
        return $this->database;
14
    }
15
}
16