Recipient::setPickupOfficeId()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 1
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace VasilDakov\Speedy\Model;
6
7
use JMS\Serializer\Annotation as Serializer;
8
9
/**
10
 * Class Recipient.
11
 *
12
 * * @Serializer\AccessType("public_method")
13
 *
14
 * @author Vasil Dakov <[email protected]>
15
 * @copyright 2009-2022 Neutrino.bg
16
 *
17
 * @version 1.0
18
 */
19
class Recipient
20
{
21
    /**
22
     * @Serializer\Type("int")
23
     */
24
    private int $pickupOfficeId;
25
26 1
    public function getPickupOfficeId(): int
27
    {
28 1
        return $this->pickupOfficeId;
29
    }
30
31 1
    public function setPickupOfficeId(int $pickupOfficeId): void
32
    {
33 1
        $this->pickupOfficeId = $pickupOfficeId;
34
    }
35
36 1
    public function toArray(): array
37
    {
38 1
        return [];
39
    }
40
}
41