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.

Response   A
last analyzed

Complexity

Total Complexity 6

Size/Duplication

Total Lines 101
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 60%

Importance

Changes 0
Metric Value
wmc 6
lcom 0
cbo 1
dl 0
loc 101
ccs 9
cts 15
cp 0.6
rs 10
c 0
b 0
f 0

6 Methods

Rating   Name   Duplication   Size   Complexity  
A getAddonsUrl() 0 4 1
A setAddonsUrl() 0 6 1
A getCancelUrl() 0 4 1
A setCancelUrl() 0 6 1
A getReactivateUrl() 0 4 1
A setReactivateUrl() 0 6 1
1
<?php
2
3
namespace Speicher210\Monsum\Api\Service\Subscription\CreateSecureLink;
4
5
use JMS\Serializer\Annotation as JMS;
6
use Speicher210\Monsum\Api\AbstractResponse;
7
8
/**
9
 * Response when creating secure links for a subscription.
10
 */
11
class Response extends AbstractResponse
12
{
13
    /**
14
     * The addons URL.
15
     *
16
     * @var string
17
     *
18
     * @JMS\Type("string")
19
     * @JMS\SerializedName("ADDONS_URL")
20
     */
21
    protected $addonsUrl;
22
23
    /**
24
     * The cancel URL.
25
     *
26
     * @var string
27
     *
28
     * @JMS\Type("string")
29
     * @JMS\SerializedName("CANCEL_URL")
30
     */
31
    protected $cancelUrl;
32
33
    /**
34
     * The reactivate URL.
35
     *
36
     * @var string
37
     *
38
     * @JMS\Type("string")
39
     * @JMS\SerializedName("REACTIVATE_URL")
40
     */
41
    protected $reactivateUrl;
42
43
    /**
44
     * Get the addons URL.
45
     *
46
     * @return string
47
     */
48
    public function getAddonsUrl()
49
    {
50
        return $this->addonsUrl;
51
    }
52
53
    /**
54
     * Set the addons URL.
55
     *
56
     * @param string $addonsUrl The URL.
57
     * @return Response
58
     */
59 3
    public function setAddonsUrl($addonsUrl)
60
    {
61 3
        $this->addonsUrl = $addonsUrl;
62
63 3
        return $this;
64
    }
65
66
    /**
67
     * Get the cancel URL.
68
     *
69
     * @return string
70
     */
71
    public function getCancelUrl()
72
    {
73
        return $this->cancelUrl;
74
    }
75
76
    /**
77
     * Set the cancel URL.
78
     *
79
     * @param string $cancelUrl The URL.
80
     * @return Response
81
     */
82 3
    public function setCancelUrl($cancelUrl)
83
    {
84 3
        $this->cancelUrl = $cancelUrl;
85
86 3
        return $this;
87
    }
88
89
    /**
90
     * Get the reactivate URL.
91
     *
92
     * @return string
93
     */
94
    public function getReactivateUrl()
95
    {
96
        return $this->reactivateUrl;
97
    }
98
99
    /**
100
     * Set the reactivate URL.
101
     *
102
     * @param string $reactivateUrl The URL.
103
     * @return Response
104
     */
105 3
    public function setReactivateUrl($reactivateUrl)
106
    {
107 3
        $this->reactivateUrl = $reactivateUrl;
108
109 3
        return $this;
110
    }
111
}
112