TypeArguments   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 3
dl 0
loc 10
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A current() 0 3 1
A __construct() 0 3 1
1
<?php declare(strict_types=1);
2
3
namespace Stratadox\PhpGenerics\Generator\Type;
4
5
use Stratadox\ImmutableCollection\ImmutableCollection;
6
7
final class TypeArguments extends ImmutableCollection
8
{
9
    public function __construct(TypeArgument ...$arguments)
10
    {
11
        parent::__construct(...$arguments);
12
    }
13
14
    public function current(): TypeArgument
15
    {
16
        return parent::current();
17
    }
18
}
19