Issues (54)

src/Model/Sender.php (1 issue)

Labels
Severity
1
<?php
2
3
declare(strict_types=1);
4
5
namespace VasilDakov\Speedy\Model;
6
7
use VasilDakov\Speedy\Traits\ToArray;
8
9
/**
10
 * Class Sender.
11
 *
12
 * @author Vasil Dakov <[email protected]>
13
 * @copyright 2009-2022 Neutrino.bg
14
 *
15
 * @version 1.0
16
 *
17
 * @psalm-suppress MissingConstructor
18
 */
19
class Sender extends Client
20
{
21
    use ToArray;
0 ignored issues
show
The trait VasilDakov\Speedy\Traits\ToArray requires the property $value which is not provided by VasilDakov\Speedy\Model\Sender.
Loading history...
22
23
    private ?int $dropoffOfficeId = null;
24
25
    /**
26
     * @return ?int
27
     */
28 1
    public function getDropoffOfficeId(): ?int
29
    {
30 1
        return $this->dropoffOfficeId;
31
    }
32
33
    /**
34
     * @param ?int $dropoffOfficeId
35
     */
36 1
    public function setDropoffOfficeId(?int $dropoffOfficeId): void
37
    {
38 1
        $this->dropoffOfficeId = $dropoffOfficeId;
39
    }
40
}
41