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.

Mirroring::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 2
1
<?php
2
3
namespace UCD\Unicode\Character\Properties\Bidirectionality;
4
5
use UCD\Unicode\Codepoint;
6
7
class Mirroring
8
{
9
    /**
10
     * @var bool
11
     */
12
    private $mirrored;
13
14
    /**
15
     * @var Codepoint
16
     */
17
    private $mirroredBy;
18
19
    /**
20
     * @param bool $mirrored
21
     * @param Codepoint $mirroredBy
22
     */
23
    public function __construct($mirrored, Codepoint $mirroredBy = null)
24
    {
25
        $this->mirrored = $mirrored;
26
        $this->mirroredBy = $mirroredBy;
27
    }
28
29
    /**
30
     * @return bool
31
     */
32
    public function isMirrored()
33
    {
34
        return $this->mirrored;
35
    }
36
37
    /**
38
     * @return Codepoint
39
     */
40
    public function getMirroredBy()
41
    {
42
        return $this->mirroredBy;
43
    }
44
}