Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
35 | public static function createAsSubaction(ActionInterface $action, CustomerInterface $customer): TemporaryAction |
||
36 | { |
||
37 | return new self( |
||
38 | null, |
||
39 | $action->getType(), |
||
40 | $action->getTarget(), |
||
41 | $action->getQuantity(), |
||
42 | $customer, |
||
43 | $action->getTime(), |
||
44 | null, |
||
45 | $action->getState(), |
||
46 | $action |
||
47 | ); |
||
50 |