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.

Ico::getSymbol()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 1
c 1
b 0
f 1
nc 1
nop 0
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
1
<?php
2
3
namespace Coinpaprika\Model\Search;
4
5
use Coinpaprika\Model\Traits\IdentityTrait;
6
use Coinpaprika\Model\Traits\NameTrait;
7
8
/**
9
 * Class Ico
10
 *
11
 * @package \Coinpaprika\Model
12
 *
13
 * @author Krzysztof Przybyszewski <[email protected]>
14
 */
15
class Ico
16
{
17
    use IdentityTrait, NameTrait;
18
19
    /**
20
     * @var string
21
     */
22
    private $symbol;
23
24
    /**
25
     * @var boolean
26
     */
27
    private $new;
28
29
    /**
30
     * @return string
31
     */
32 1
    public function getSymbol(): string
33
    {
34 1
        return $this->symbol;
35
    }
36
37
    /**
38
     * @param string $symbol
39
     */
40 1
    public function setSymbol(string $symbol): void
41
    {
42 1
        $this->symbol = $symbol;
43 1
    }
44
45
    /**
46
     * @return bool
47
     */
48 1
    public function isNew(): bool
49
    {
50 1
        return $this->new;
51
    }
52
53
    /**
54
     * @param bool $new
55
     */
56 1
    public function setNew(bool $new): void
57
    {
58 1
        $this->new = $new;
59 1
    }
60
}
61