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   A
last analyzed

Complexity

Total Complexity 6

Size/Duplication

Total Lines 71
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 6
lcom 0
cbo 1
dl 0
loc 71
rs 10
c 0
b 0
f 0

6 Methods

Rating   Name   Duplication   Size   Complexity  
A setHref() 0 4 1
A getHref() 0 4 1
A setMethod() 0 4 1
A getMethod() 0 4 1
A setRel() 0 4 1
A getRel() 0 4 1
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