paquettg / leaguewrap

League of Legend API wrapper
MIT License
67 stars 28 forks source link

fix for xdebug errors #115

Closed Inve1951 closed 8 years ago

Inve1951 commented 8 years ago

"Invalid argument supplied for foreach()" the error occured after Api::attachStaticData() whenever a Dto was created which does not have staticFields

with this little change i'm finally able to use attachStaticData()

coveralls commented 8 years ago

Coverage Status

Coverage remained the same at 95.51% when pulling c73f9de556e40b5ddbefc1f1976fa5b2d726af46 on Inve1951:master into 730c01cc5dde20524ff6a2b77b04073dd0b4cac3 on paquettg:master.

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.009%) to 95.519% when pulling 632658ac25db419f4f0a1d3edc0c34c1b3c9f826 on Inve1951:master into 730c01cc5dde20524ff6a2b77b04073dd0b4cac3 on paquettg:master.

coveralls commented 8 years ago

Coverage Status

Coverage decreased (-0.002%) to 95.507% when pulling 632658ac25db419f4f0a1d3edc0c34c1b3c9f826 on Inve1951:master into 730c01cc5dde20524ff6a2b77b04073dd0b4cac3 on paquettg:master.