Completed
Push — develop ( dd2af7...2c61cc )
by Baptiste
09:23 queued 01:14
created

ServiceFixture::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 5
c 0
b 0
f 0
ccs 4
cts 4
cp 1
rs 9.4285
cc 1
eloc 3
nc 1
nop 3
crap 1
1
<?php
2
declare(strict_types = 1);
3
4
namespace Fixture\Innmind\Compose;
5
6
final class ServiceFixture
7
{
8
    public $first;
9
    public $second;
10
    public $third;
11
12 3
    public function __construct(int $first, \stdClass $second, ...$third)
13
    {
14 3
        $this->first = $first;
15 3
        $this->second = $second;
16 3
        $this->third = $third;
17 3
    }
18
}
19