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.

ArticleCategoryTranslation   A
last analyzed

Complexity

Total Complexity 5

Size/Duplication

Total Lines 55
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 9
c 1
b 0
f 1
dl 0
loc 55
rs 10
wmc 5

5 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 3 1
A setTitle() 0 3 1
A setSlug() 0 3 1
A getTitle() 0 3 1
A getSlug() 0 3 1
1
<?php
2
3
namespace Odiseo\BlogBundle\Model;
4
5
use Sylius\Component\Resource\Model\AbstractTranslation;
6
7
/**
8
 * @author Diego D'amico <[email protected]>
9
 */
10
class ArticleCategoryTranslation extends AbstractTranslation implements ArticleCategoryTranslationInterface
11
{
12
    /**
13
     * @var mixed
14
     */
15
    protected $id;
16
17
    /**
18
     * @var string
19
     */
20
    protected $slug;
21
22
    /**
23
     * @var string
24
     */
25
    protected $title;
26
    
27
    /**
28
     * {@inheritdoc}
29
     */
30
    public function getId()
31
    {
32
        return $this->id;
33
    }
34
35
    /**
36
     * {@inheritdoc}
37
     */
38
    public function getSlug()
39
    {
40
        return $this->slug;
41
    }
42
43
    /**
44
     * {@inheritdoc}
45
     */
46
    public function setSlug($slug)
47
    {
48
        $this->slug = $slug;
49
    }
50
51
    /**
52
     * {@inheritdoc}
53
     */
54
    public function getTitle()
55
    {
56
        return $this->title;
57
    }
58
59
    /**
60
     * {@inheritdoc}
61
     */
62
    public function setTitle($title)
63
    {
64
        $this->title = $title;
65
    }
66
}
67