| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 33 | protected function getXml() : array |
||
| 34 | { |
||
| 35 | $type = $this->messageRequest->getTypeMessage(); |
||
| 36 | |||
| 37 | return [[ |
||
| 38 | 'Message' => [ |
||
| 39 | 'any' => "<{$type}Request xmlns=\"urn://x-artefacts-gnivc-ru/ais3/kkt/KktTicketService/types/1.0\" |
||
| 40 | xmlns:tns=\"urn://x-artefacts-gnivc-ru/ais3/kkt/KktTicketService/types/1.0\"> |
||
| 41 | <tns:{$type}Info> |
||
| 42 | {$this->ticket->asXml()} |
||
| 43 | </tns:{$type}Info> |
||
| 44 | </{$type}Request>" |
||
| 45 | ] |
||
| 63 |