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.

Translation   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 35
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 60%

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 35
ccs 3
cts 5
cp 0.6
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getEnglish() 0 4 1
A setEnglish() 0 6 1
1
<?php
2
3
namespace Speicher210\Monsum\Api\Model;
4
5
use JMS\Serializer\Annotation as JMS;
6
7
/**
8
 * Translation model.
9
 */
10
class Translation
11
{
12
    /**
13
     * The english translation.
14
     *
15
     * @var TranslationText
16
     *
17
     * @JMS\Type("Speicher210\Monsum\Api\Model\TranslationText")
18
     * @JMS\SerializedName("EN")
19
     */
20
    protected $english;
21
22
    /**
23
     * Get the english translation.
24
     *
25
     * @return TranslationText
26
     */
27
    public function getEnglish()
28
    {
29
        return $this->english;
30
    }
31
32
    /**
33
     * Set the english translation.
34
     *
35
     * @param TranslationText $translationText The translation text.
36
     * @return Translation
37
     */
38 6
    public function setEnglish(TranslationText $translationText)
39
    {
40 6
        $this->english = $translationText;
41
42 6
        return $this;
43
    }
44
}
45