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.

EdgeDto::setFromDate()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
/*
3
 * This file is part of the prooph/php-ddd-cargo-sample.
4
 * (c) Alexander Miertsch <[email protected]>
5
 *
6
 * For the full copyright and license information, please view the LICENSE
7
 * file that was distributed with this source code.
8
 * 
9
 * Date: 29.03.14 - 18:56
10
 */
11
declare(strict_types = 1);
12
13
namespace Codeliner\GraphTraversalBackend\Dto;
14
15
/**
16
 * Class EdgeDto
17
 *
18
 * @package Codeliner\GraphTraversalService\Dto
19
 * @author Alexander Miertsch <[email protected]>
20
 */
21
class EdgeDto 
22
{
23
    /**
24
     * @var string
25
     */
26
    private $fromUnLocode;
27
28
    /**
29
     * @var string
30
     */
31
    private $toUnLocode;
32
33
    /**
34
     * @var string ISO8601 formatted date
35
     */
36
    private $fromDate;
37
38
    /**
39
     * @var string ISO8601 formatted date
40
     */
41
    private $toDate;
42
43
    /**
44
     * @param string $fromDate
45
     */
46
    public function setFromDate(string $fromDate)
47
    {
48
        $this->fromDate = $fromDate;
49
    }
50
51
    /**
52
     * @return string
53
     */
54
    public function getFromDate(): string
55
    {
56
        return $this->fromDate;
57
    }
58
59
    /**
60
     * @param string $fromUnLocode
61
     */
62
    public function setFromUnLocode(string $fromUnLocode)
63
    {
64
        $this->fromUnLocode = $fromUnLocode;
65
    }
66
67
    /**
68
     * @return string
69
     */
70
    public function getFromUnLocode(): string
71
    {
72
        return $this->fromUnLocode;
73
    }
74
75
    /**
76
     * @param string $toDate
77
     */
78
    public function setToDate(string $toDate)
79
    {
80
        $this->toDate = $toDate;
81
    }
82
83
    /**
84
     * @return string
85
     */
86
    public function getToDate(): string
87
    {
88
        return $this->toDate;
89
    }
90
91
    /**
92
     * @param string $toUnLocode
93
     */
94
    public function setToUnLocode(string $toUnLocode)
95
    {
96
        $this->toUnLocode = $toUnLocode;
97
    }
98
99
    /**
100
     * @return string
101
     */
102
    public function getToUnLocode(): string
103
    {
104
        return $this->toUnLocode;
105
    }
106
}
107