ReservationRepository::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
crap 1
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of the zibios/sharep.
7
 *
8
 * (c) Zbigniew Ślązak
9
 */
10
11
namespace App\Repository\Entity\Parking;
12
13
use App\Entity\Parking\Reservation;
14
use App\Repository\Traits\SaveEntityTrait;
15
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
16
use Doctrine\Common\Persistence\ManagerRegistry;
17
18
class ReservationRepository extends ServiceEntityRepository
19
{
20
    use SaveEntityTrait;
21
22 1
    public function __construct(ManagerRegistry $registry)
23
    {
24 1
        parent::__construct($registry, Reservation::class);
25 1
    }
26
}
27