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.

Code Duplication    Length = 77-77 lines in 2 locations

src/Service/Base/Fare.php 1 location

@@ 17-93 (lines=77) @@
14
/**
15
 * @author GeLo <[email protected]>
16
 */
17
class Fare
18
{
19
    /**
20
     * @var float
21
     */
22
    private $value;
23
24
    /**
25
     * @var string
26
     */
27
    private $currency;
28
29
    /**
30
     * @var string
31
     */
32
    private $text;
33
34
    /**
35
     * @param float  $value
36
     * @param string $currency
37
     * @param string $text
38
     */
39
    public function __construct($value, $currency, $text)
40
    {
41
        $this->setValue($value);
42
        $this->setCurrency($currency);
43
        $this->setText($text);
44
    }
45
46
    /**
47
     * @return float
48
     */
49
    public function getValue()
50
    {
51
        return $this->value;
52
    }
53
54
    /**
55
     * @param float $value
56
     */
57
    public function setValue($value)
58
    {
59
        $this->value = $value;
60
    }
61
62
    /**
63
     * @return string
64
     */
65
    public function getCurrency()
66
    {
67
        return $this->currency;
68
    }
69
70
    /**
71
     * @param string $currency
72
     */
73
    public function setCurrency($currency)
74
    {
75
        $this->currency = $currency;
76
    }
77
78
    /**
79
     * @return string
80
     */
81
    public function getText()
82
    {
83
        return $this->text;
84
    }
85
86
    /**
87
     * @param string $text
88
     */
89
    public function setText($text)
90
    {
91
        $this->text = $text;
92
    }
93
}
94

src/Service/Base/Time.php 1 location

@@ 17-93 (lines=77) @@
14
/**
15
 * @author GeLo <[email protected]>
16
 */
17
class Time
18
{
19
    /**
20
     * @var \DateTime
21
     */
22
    private $value;
23
24
    /**
25
     * @var string
26
     */
27
    private $timeZone;
28
29
    /**
30
     * @var string
31
     */
32
    private $text;
33
34
    /**
35
     * @param \DateTime $value
36
     * @param string    $timeZone
37
     * @param string    $text
38
     */
39
    public function __construct(\DateTime $value, $timeZone, $text)
40
    {
41
        $this->setValue($value);
42
        $this->setTimeZone($timeZone);
43
        $this->setText($text);
44
    }
45
46
    /**
47
     * @return \DateTime
48
     */
49
    public function getValue()
50
    {
51
        return $this->value;
52
    }
53
54
    /**
55
     * @param \DateTime $value
56
     */
57
    public function setValue(\DateTime $value)
58
    {
59
        $this->value = $value;
60
    }
61
62
    /**
63
     * @return string
64
     */
65
    public function getTimeZone()
66
    {
67
        return $this->timeZone;
68
    }
69
70
    /**
71
     * @param string $timeZone
72
     */
73
    public function setTimeZone($timeZone)
74
    {
75
        $this->timeZone = $timeZone;
76
    }
77
78
    /**
79
     * @return string
80
     */
81
    public function getText()
82
    {
83
        return $this->text;
84
    }
85
86
    /**
87
     * @param string $text
88
     */
89
    public function setText($text)
90
    {
91
        $this->text = $text;
92
    }
93
}
94