Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
16 | 9 | public static function create(LoopInterface $loop, CommandBusInterface $commandBus, array $options): Hydrator |
|
17 | { |
||
18 | 9 | $options[Options::ANNOTATIONS] = static::annotations($options[Options::ANNOTATIONS] ?? []); |
|
19 | |||
20 | 9 | $hydrator = new Hydrator($loop, $commandBus, $options); |
|
21 | |||
22 | 9 | return $hydrator; |
|
23 | } |
||
24 | |||
38 |