GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — master ( 83575f...b31e19 )
by
unknown
04:46
created

VendorEmail::getVendor()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 1
b 0
f 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Odiseo\SyliusVendorPlugin\Entity;
6
7
use Sylius\Component\Resource\Model\TimestampableTrait;
8
9
class VendorEmail implements VendorEmailInterface
10
{
11
    use TimestampableTrait;
12
13
    /** @var int|null */
14
    private $id;
15
16
    /** @var string|null */
17
    private $value;
18
19
    /** @var VendorInterface */
20
    protected $vendor;
21
22
    public function __construct()
23
    {
24
        $this->createdAt = new \DateTime();
25
    }
26
27
    /**
28
     * @inheritdoc
29
     */
30
    public function getId()
31
    {
32
        return $this->id;
33
    }
34
35
    /**
36
     * @inheritdoc
37
     */
38
    public function getValue(): ?string
39
    {
40
        return $this->value;
41
    }
42
43
    /**
44
     * @inheritdoc
45
     */
46
    public function setValue(?string $value): void
47
    {
48
        $this->value = $value;
49
    }
50
51
    /**
52
     * {@inheritdoc}
53
     */
54
    public function getVendor(): ?VendorInterface
55
    {
56
        return $this->vendor;
57
    }
58
59
    /**
60
     * {@inheritdoc}
61
     */
62
    public function setVendor(?VendorInterface $vendor): void
63
    {
64
        $this->vendor = $vendor;
65
    }
66
}
67