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.

Tag   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 44
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 8
c 1
b 0
f 1
dl 0
loc 44
ccs 9
cts 9
cp 1
rs 10
wmc 4

4 Methods

Rating   Name   Duplication   Size   Complexity  
A setCoinCounter() 0 3 1
A getCoinCounter() 0 3 1
A setIcoCounter() 0 3 1
A getIcoCounter() 0 3 1
1
<?php
2
3
namespace Coinpaprika\Model;
4
5
use Coinpaprika\Model\Traits\IdentityTrait;
6
use Coinpaprika\Model\Traits\NameTrait;
7
8
/**
9
 * Class Tag
10
 *
11
 * @package \Coinpaprika\Model
12
 *
13
 * @author Krzysztof Przybyszewski <[email protected]>
14
 */
15
class Tag
16
{
17
    use IdentityTrait, NameTrait;
18
19
    /**
20
     * @var int
21
     */
22
    private $coinCounter;
23
24
    /**
25
     * @var int
26
     */
27
    private $icoCounter;
28
29
    /**
30
     * @return int
31
     */
32 1
    public function getCoinCounter(): int
33
    {
34 1
        return $this->coinCounter;
35
    }
36
37
    /**
38
     * @param int $coinCounter
39
     */
40 2
    public function setCoinCounter(int $coinCounter): void
41
    {
42 2
        $this->coinCounter = $coinCounter;
43 2
    }
44
45
    /**
46
     * @return int
47
     */
48 1
    public function getIcoCounter(): int
49
    {
50 1
        return $this->icoCounter;
51
    }
52
53
    /**
54
     * @param int $icoCounter
55
     */
56 2
    public function setIcoCounter(int $icoCounter): void
57
    {
58 2
        $this->icoCounter = $icoCounter;
59 2
    }
60
}
61