Conditions | 3 |
Paths | 4 |
Total Lines | 17 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 3 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
47 | 4 | public function __invoke( |
|
48 | string $indent = null, |
||
49 | string $delimiter = null, |
||
50 | array $attributes = [] |
||
51 | ): AbstractList { |
||
52 | 4 | $this->attributes = $attributes; |
|
53 | 4 | if (null !== $delimiter) { |
|
54 | 3 | $this->delimiter = $delimiter; |
|
55 | } |
||
56 | |||
57 | 4 | if (null !== $indent) { |
|
58 | 3 | $this->indent = $indent; |
|
59 | } |
||
60 | |||
61 | 4 | $this->store = []; |
|
62 | |||
63 | 4 | return $this; |
|
64 | } |
||
101 |