Skip to content

Commit

Permalink
a more human warning on php method name mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
kroitor committed May 24, 2018
1 parent 468220e commit df1485a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/Exchange.php
Original file line number Diff line number Diff line change
Expand Up @@ -1769,7 +1769,7 @@ public function __call ($function, $params) {
return call_user_func_array ($this->$function, $params);
else {
/* handle errors */
throw new ExchangeError ($function . ' not found');
throw new ExchangeError ($function . ' method not found, try underscore_notation instead of camelCase for the method being called');
}
}

Expand Down

0 comments on commit df1485a

Please sign in to comment.