| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | class InlineQuery extends Entity |
||
| 29 | { |
||
| 30 | /** |
||
| 31 | * {@inheritdoc} |
||
| 32 | */ |
||
| 33 | protected function subEntities() |
||
| 34 | { |
||
| 35 | return [ |
||
| 36 | 'from' => User::class, |
||
| 37 | 'location' => Location::class, |
||
| 38 | ]; |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Answer this inline query with the passed results. |
||
| 43 | * |
||
| 44 | * @param InlineQueryResult[] $results |
||
| 45 | * @param array $data |
||
| 46 | * |
||
| 47 | * @return ServerResponse |
||
| 48 | */ |
||
| 49 | public function answer(array $results, array $data = []) |
||
| 55 | } |
||
| 56 | } |
||
| 57 |