Passed
Push — master ( c6c461...fb46b6 )
by Carlos C
56s queued 10s
created

QueryPendingCommand   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
dl 0
loc 13
ccs 5
cts 5
cp 1
rs 10
c 1
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A uuid() 0 3 1
A __construct() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace PhpCfdi\Finkok\Services\Stamping;
6
7
class QueryPendingCommand
8
{
9
    /** @var string */
10
    private $uuid;
11
12 1
    public function __construct(string $uuid)
13
    {
14 1
        $this->uuid = $uuid;
15 1
    }
16
17 1
    public function uuid(): string
18
    {
19 1
        return $this->uuid;
20
    }
21
}
22