Passed
Push — main ( a8b0f9...5ab65b )
by Vasil
03:25
created

GetOfficesResponse   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 8
ccs 0
cts 2
cp 0
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
namespace VasilDakov\Econt\Response;
4
5
use Doctrine\Common\Collections\ArrayCollection;
6
use JMS\Serializer\Annotation as Serializer;
7
use VasilDakov\Econt\Model;
8
9
final class GetOfficesResponse
10
{
11
    #[Serializer\Type("ArrayCollection<VasilDakov\Econt\Model\Office>")]
12
    public ArrayCollection $offices;
13
14
    public function __construct()
15
    {
16
        $this->offices = new ArrayCollection();
17
    }
18
}
19