Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php declare(strict_types = 1); |
||
14 | 9 | public static function create( |
|
15 | DomainEventCollection $aggregateChangedEvents, |
||
16 | MutationErrorCollection $errors |
||
17 | ): BasicMutationResponse { |
||
18 | 9 | $instance = new self(); |
|
19 | 9 | $instance->domainEvents = $aggregateChangedEvents; |
|
20 | 9 | $instance->errors = $errors; |
|
21 | |||
22 | 9 | return $instance; |
|
23 | } |
||
24 | } |
||
25 |