| Total Complexity | 2 | 
| Total Lines | 27 | 
| Duplicated Lines | 0 % | 
| Coverage | 0% | 
| Changes | 2 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 31 | class ShippingQuery extends Entity | ||
| 32 | { | ||
| 33 | /** | ||
| 34 |      * {@inheritdoc} | ||
| 35 | */ | ||
| 36 | protected function subEntities(): array | ||
| 37 |     { | ||
| 38 | return [ | ||
| 39 | 'from' => User::class, | ||
| 40 | 'shipping_address' => ShippingAddress::class, | ||
| 41 | ]; | ||
| 42 | } | ||
| 43 | |||
| 44 | /** | ||
| 45 | * Answer this shipping query. | ||
| 46 | * | ||
| 47 | * @param bool $ok | ||
| 48 | * @param array $data | ||
| 49 | * | ||
| 50 | * @return ServerResponse | ||
| 51 | */ | ||
| 52 | public function answer(bool $ok, array $data = []): ServerResponse | ||
| 58 | } | ||
| 59 | } | ||
| 60 |