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.
Completed
Push — 1.x ( 51d58d...7f0130 )
by Jakub
02:20
created

PaymentError::getCode()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Vipps\Model\Error;
4
5
use JMS\Serializer\Annotation as Serializer;
6
7
class PaymentError implements ErrorInterface
8
{
9
    /**
10
     * @var string
11
     * @Serializer\Type("string")
12
     * @Serializer\SerializedName("errorGroup")
13
     */
14
    protected $errorGroup;
15
16
    /**
17
     * @var string
18
     * @Serializer\Type("string")
19
     * @Serializer\SerializedName("errorCode")
20
     */
21
    protected $errorCode;
22
23
    /**
24
     * @var string
25
     * @Serializer\Type("string")
26
     * @Serializer\SerializedName("errorMessage")
27
     */
28
    protected $errorMessage;
29
30
    /**
31
     * Gets errorCode value.
32
     *
33
     * @return string
34
     */
35
    public function getErrorCode()
36
    {
37
        return $this->errorCode;
38
    }
39
40
    /**
41
     * Gets errorGroup value.
42
     *
43
     * @return string
44
     */
45
    public function getErrorGroup()
46
    {
47
        return $this->errorGroup;
48
    }
49
50
    /**
51
     * Gets errorMessage value.
52
     *
53
     * @return string
54
     */
55
    public function getErrorMessage()
56
    {
57
        return $this->errorMessage;
58
    }
59
60
    /**
61
     * {@inheritdoc}
62
     */
63
    public function getCode()
64
    {
65
        return $this->getErrorCode();
66
    }
67
68
    /**
69
     * {@inheritdoc}
70
     */
71
    public function getMessage()
72
    {
73
        return $this->getErrorMessage();
74
    }
75
}
76