Passed
Pull Request — master (#4)
by Alexander
01:19
created

MakeEngineCollector   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
dl 0
loc 6
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Yiisoft\Injector\Tests\Support;
6
7
class MakeEngineCollector
8
{
9
    public array $engines;
10
    public function __construct(EngineInterface ...$engines)
11
    {
12
        $this->engines = $engines;
13
    }
14
}
15