Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | 3 | public function __construct(Collection $dictionaries, Generator $generator = null) |
|
19 | { |
||
20 | 3 | $this->dictionaries = $dictionaries; |
|
21 | |||
22 | 3 | if (null === $generator) { |
|
23 | 3 | $generator = new Generator(); |
|
24 | 3 | $generator->addProvider($this); |
|
25 | } |
||
26 | |||
27 | 3 | parent::__construct($generator); |
|
28 | 3 | } |
|
38 |