Closed lagseeing closed 10 years ago
What errors does it bring up when you attempt to do this?
Best wishes, ~ Gilles Paquette
On Sat, Nov 22, 2014 at 12:49 PM, Antonio Requena notifications@github.com wrote:
I am trying to the the gameid of the most recent match with something like this
$all = $game->recent($summoner)[0]['info']->gameId;
But i am having no luck, and the documentation is somewhat vague in this aspect.
— Reply to this email directly or view it on GitHub https://github.com/paquettg/leaguewrap/issues/44.
it just says null.
I think it must be $game->recent($summoner)[0]->gameId; without ['info']. You can check that with a var_dump
I am trying to the the gameid of the most recent match with something like this
$all = $game->recent($summoner)[0]['info']->gameId;
But i am having no luck, and the documentation is somewhat vague in this aspect.