| Total Complexity | 3 |
| Total Lines | 44 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | trait PreGameEndpoints |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Get the pre-game match ID for the provided player |
||
| 9 | * |
||
| 10 | * @param string $shard |
||
| 11 | * @param string $region |
||
| 12 | * @param string $puuid |
||
| 13 | * |
||
| 14 | * @return mixed |
||
| 15 | */ |
||
| 16 | public function preGamePlayer(string $shard, string $region, string $puuid) |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Get Pre-Game match data |
||
| 23 | * |
||
| 24 | * @param string $shard |
||
| 25 | * @param string $region |
||
| 26 | * @param string $preGameMatchId |
||
| 27 | * |
||
| 28 | * @return mixed|\Psr\Http\Message\ResponseInterface |
||
| 29 | * @throws \GuzzleHttp\Exception\GuzzleException |
||
| 30 | */ |
||
| 31 | public function preGameMatch(string $shard, string $region, string $preGameMatchId) |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Get Pre-Game loadout data |
||
| 38 | * |
||
| 39 | * @param string $shard |
||
| 40 | * @param string $region |
||
| 41 | * @param string $preGameMatchId |
||
| 42 | * |
||
| 43 | * @return mixed|\Psr\Http\Message\ResponseInterface |
||
| 44 | * @throws \GuzzleHttp\Exception\GuzzleException |
||
| 45 | */ |
||
| 46 | public function preGameLoadouts(string $shard, string $region, string $preGameMatchId) |
||
| 51 |