Passed
Push — master ( 5dce54...909d6e )
by Paweł
12:04 queued 12s
created

ClassDefinition   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 17
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace pjpawel\LightApi\Container\Definition;
4
5
class ClassDefinition extends Definition
6
{
7
8
    public string $name;
9
    /**
10
     * @var string[]
11
     */
12
    public array $arguments;
13
14
    /**
15
     * @param string $name
16
     * @param string[] $arguments
17
     */
18
    public function __construct(string $name, array $arguments)
19
    {
20
        $this->name = $name;
21
        $this->arguments = $arguments;
22
    }
23
}