Test Failed
Branch master (354693)
by Valery
12:29
created

AreaRepository   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 5
rs 10
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 App\Repository;
6
7
use App\Entity\Area;
8
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
9
use Symfony\Bridge\Doctrine\RegistryInterface;
10
11
/**
12
 * @method Area|null find($id, $lockMode = null, $lockVersion = null)
13
 * @method Area|null findOneBy(array $criteria, array $orderBy = null)
14
 * @method Area[]    findAll()
15
 * @method Area[]    findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
16
 */
17
class AreaRepository extends ServiceEntityRepository
18
{
19
    public function __construct(RegistryInterface $registry)
20
    {
21
        parent::__construct($registry, Area::class);
22
    }
23
}
24