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.

Link::getRel()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Onend\PayPal\Payment\Model;
4
5
use JMS\Serializer\Annotation as JMS;
6
7
use Onend\PayPal\Common\Model\AbstractModel;
8
9
class Link extends AbstractModel
10
{
11
    /**
12
     * @JMS\Type("string")
13
     *
14
     * @var string
15
     */
16
    protected $href;
17
18
    /**
19
     * @JMS\Type("string")
20
     *
21
     * @var string
22
     */
23
    protected $rel;
24
25
    /**
26
     * @JMS\Type("string")
27
     *
28
     * @var string
29
     */
30
    protected $method;
31
32
    /**
33
     * @param string $href
34
     */
35
    public function setHref($href)
36
    {
37
        $this->href = $href;
38
    }
39
40
    /**
41
     * @return string
42
     */
43
    public function getHref()
44
    {
45
        return $this->href;
46
    }
47
48
    /**
49
     * @param string $method
50
     */
51
    public function setMethod($method)
52
    {
53
        $this->method = $method;
54
    }
55
56
    /**
57
     * @return string
58
     */
59
    public function getMethod()
60
    {
61
        return $this->method;
62
    }
63
64
    /**
65
     * @param string $rel
66
     */
67
    public function setRel($rel)
68
    {
69
        $this->rel = $rel;
70
    }
71
72
    /**
73
     * @return string
74
     */
75
    public function getRel()
76
    {
77
        return $this->rel;
78
    }
79
}
80