Closed Kaz- closed 7 years ago
I have the same issue, it returns only one StaticData on summoner spells and items. I don't think this is your app.
This should fix the issue. Now summonerSpellStaticData
etc. should be an array of objects like so:
Let me know if it would be better for your usecase to use associative array with id
as key @Kaz- @nohanna
Good for me. Thank you @m1so for your help !
Hello.
I'm using
$this->api->attachStaticData()
; to attach Static Datas to my requests, but it seems there's a little issue with it.For exemple when I call game api I only get a single Summoner Spell. (same issue with Items)
This actually returns the following :
Am I doing something wrong ? Or is it a bug ?
I'm trying to dig up into source code, but it's a bit complicated for someone who isn't in the project :/
Do you guys have the same issue , or is it something in my app going wrong ?