| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class InlineQueryResultGameType extends InlineQueryResultType |
||
| 15 | { |
||
| 16 | use FillFromArrayTrait; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Short name of the game. |
||
| 20 | * |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | public $gameShortName; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * InlineQueryResultGameType constructor. |
||
| 27 | * |
||
| 28 | * @param string $id |
||
| 29 | * @param string $gameShortName |
||
| 30 | * @param array|null $data |
||
| 31 | * |
||
| 32 | * @throws \Greenplugin\TelegramBot\Exception\BadArgumentException |
||
| 33 | */ |
||
| 34 | public function __construct(string $id, string $gameShortName, array $data = null) |
||
| 44 |