paquettg / leaguewrap

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

cash interface variable order wrong #94

Closed pashadude closed 9 years ago

pashadude commented 9 years ago

Hi, many thnx 4 your great work. There is a little bug with cash interface

you got

"public function set($response, $key, $seconds)"

in cache.php

fwhile in the interface you got

"set($key, $response, $seconds);"

custom implementations if this order will not change will return "array_key_exists(): The first argument should be either a string or an integer" due to this .....