Token   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 23
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
namespace Translation;
4
5
class Token
6
{
7
8
    /**
9
     * @var string
10
     */
11
    public $token;
12
13
    /**
14
     * @var string
15
     */
16
    public $comment;
17
18
    /**
19
     * @param string $token
20
     * @param string $comment
21
     */
22
    public function __construct(string $token, string $comment = '')
23
    {
24
        $this->token   = $token;
25
        $this->comment = $comment;
26
    }
27
}
28