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 — master ( 499c68...2aea15 )
by Krzysztof
02:06
created

Coin   A

Complexity

Total Complexity 6

Size/Duplication

Total Lines 65
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

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

6 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A setId() 0 4 1
A getName() 0 4 1
A setName() 0 4 1
A getSymbol() 0 4 1
A setSymbol() 0 4 1
1
<?php
2
3
namespace Coinpaprika\Model;
4
5
/**
6
 * Class Coin
7
 *
8
 * @package \Coinpaprika\Model
9
 *
10
 * @author Krzysztof Przybyszewski <[email protected]>
11
 */
12
class Coin
13
{
14
    /**
15
     * @var string
16
     */
17
    private $id;
18
19
    /**
20
     * @var string
21
     */
22
    private $name;
23
24
    /**
25
     * @var string
26
     */
27
    private $symbol;
28
29
    /**
30
     * @return string
31
     */
32 1
    public function getId(): string
33
    {
34 1
        return $this->id;
35
    }
36
37
    /**
38
     * @param string $id
39
     */
40 1
    public function setId(string $id): void
41
    {
42 1
        $this->id = $id;
43 1
    }
44
45
    /**
46
     * @return string
47
     */
48 1
    public function getName(): string
49
    {
50 1
        return $this->name;
51
    }
52
53
    /**
54
     * @param string $name
55
     */
56 1
    public function setName(string $name): void
57
    {
58 1
        $this->name = $name;
59 1
    }
60
61
    /**
62
     * @return string
63
     */
64 1
    public function getSymbol(): string
65
    {
66 1
        return $this->symbol;
67
    }
68
69
    /**
70
     * @param string $symbol
71
     */
72 1
    public function setSymbol(string $symbol): void
73
    {
74 1
        $this->symbol = $symbol;
75 1
    }
76
}
77