dolejska-daniel / riot-api

Riot League of Legends & DataDragon API wrappers for PHP7 and PHP8.
GNU General Public License v3.0
112 stars 25 forks source link

Wiki typo/bug #39

Closed tiptone closed 5 years ago

tiptone commented 5 years ago

In the wiki, on the LeagueAPI::StaticData endpoints page, the example code doesn't work.

Steps to reproduce the behavior:

  1. Go to Wiki -> LeagueAPI::StaticData endpoints page
  2. Settings table shows "LeagueAPI::"
  3. Code blocks show "RiotAPI::"
  4. Example code doesn't work

Update the code blocks to use "LeagueAPI::" instead of "RiotAPI::" and the code works perfectly.

dolejska-daniel commented 5 years ago

Thanks for letting me know @tiptone! Fixed now.