Total Complexity | 2 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
19 | class OrderSetCustomerIdAction extends AbstractAction |
||
20 | { |
||
21 | 4 | public function fieldDefinitions() |
|
22 | { |
||
23 | return [ |
||
24 | 4 | 'action' => [static::TYPE => 'string'], |
|
25 | 4 | 'customerId' => [static::TYPE => 'string'], |
|
26 | ]; |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @param array $data |
||
31 | * @param Context|callable $context |
||
32 | */ |
||
33 | 4 | public function __construct(array $data = [], $context = null) |
|
37 | 4 | } |
|
38 | } |
||
39 |