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 ( bce1af...0edef5 )
by Nicholas
02:59
created

General   A

Complexity

Total Complexity 6

Size/Duplication

Total Lines 88
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 2
Bugs 0 Features 1
Metric Value
wmc 6
c 2
b 0
f 1
lcom 0
cbo 0
dl 0
loc 88
rs 10

6 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 13 1
A getNames() 0 4 1
A getBlock() 0 4 1
A getAge() 0 4 1
A getGeneralCategory() 0 4 1
A getScript() 0 4 1
1
<?php
2
3
namespace UCD\Unicode\Character\Properties;
4
5
use UCD\Unicode\Character\Properties\General\Block;
6
use UCD\Unicode\Character\Properties\General\GeneralCategory;
7
use UCD\Unicode\Character\Properties\General\Names;
8
use UCD\Unicode\Character\Properties\General\Script;
9
use UCD\Unicode\Character\Properties\General\Version;
10
11
class General
12
{
13
    /**
14
     * @var Names
15
     */
16
    private $names;
17
18
    /**
19
     * @var Block
20
     */
21
    private $block;
22
23
    /**
24
     * @var Version
25
     */
26
    private $age;
27
28
    /**
29
     * @var GeneralCategory
30
     */
31
    private $generalCategory;
32
33
    /**
34
     * @var Script
35
     */
36
    private $script;
37
38
    /**
39
     * @param Names $names
40
     * @param Block $block
41
     * @param Version $age
42
     * @param GeneralCategory $generalCategory
43
     * @param Script $script
44
     */
45
    public function __construct(
46
        Names $names,
47
        Block $block,
48
        Version $age,
49
        GeneralCategory $generalCategory,
50
        Script $script
51
    ) {
52
        $this->names = $names;
53
        $this->block = $block;
54
        $this->age = $age;
55
        $this->generalCategory = $generalCategory;
56
        $this->script = $script;
57
    }
58
59
    /**
60
     * @return Names
61
     */
62
    public function getNames()
63
    {
64
        return $this->names;
65
    }
66
67
    /**
68
     * @return Block
69
     */
70
    public function getBlock()
71
    {
72
        return $this->block;
73
    }
74
75
    /**
76
     * @return Version
77
     */
78
    public function getAge()
79
    {
80
        return $this->age;
81
    }
82
83
    /**
84
     * @return GeneralCategory
85
     */
86
    public function getGeneralCategory()
87
    {
88
        return $this->generalCategory;
89
    }
90
91
    /**
92
     * @return Script
93
     */
94
    public function getScript()
95
    {
96
        return $this->script;
97
    }
98
}