Skip to content

Instantly share code, notes, and snippets.

@noqqe
Created February 24, 2014 18:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save noqqe/9194474 to your computer and use it in GitHub Desktop.
Save noqqe/9194474 to your computer and use it in GitHub Desktop.
-function api_flash_get(object &$json) {
+function api_flash_get(stdClass &$json) {
# PHP Catchable fatal error: Argument 1 passed to api_flash_get() must be an instance of object, instance of stdClass given,
# called in /htdocs/dev.coffeestats.org/api/api-v1.php on line 187 an
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment