Total Complexity | 6 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Coverage | 81.82% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class ArrayOf implements PhpAnyType |
||
10 | { |
||
11 | /** @var PhpAnyType */ |
||
12 | private $type; |
||
13 | |||
14 | /** |
||
15 | * @return PhpAnyType |
||
16 | */ |
||
17 | public function getType() |
||
18 | { |
||
19 | return $this->type; |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * ArrayOf constructor. |
||
24 | * @param PhpAnyType $type |
||
25 | 4 | */ |
|
26 | public function __construct(PhpAnyType $type) |
||
27 | 4 | { |
|
28 | 4 | $this->type = $type; |
|
29 | } |
||
30 | |||
31 | /** |
||
32 | * @return string |
||
33 | 2 | */ |
|
34 | public function renderArgumentType() |
||
35 | 2 | { |
|
36 | return ''; |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * @return string |
||
41 | 4 | */ |
|
42 | public function renderPhpDocType() |
||
50 | } |
||
51 | } |
||
52 | |||
53 | |||
54 | } |