The code example on readme.md is wrong
timrabbetts opened this issue · 1 comments
timrabbetts commented
Code example on readme.md is wrong.
I get this error:
PHP Fatal error: Uncaught Error: Class 'FabianBeiner\Todoist\Todoist' not found
So the code on readme.md is this:
$Todoist = new FabianBeiner\Todoist\Todoist('YOUR_API_TOKEN');
Should be this:
$Todoist = new FabianBeiner\Todoist\TodoistClient('YOUR_API_TOKEN');
Maybe tweak the readme, otherwise great work and thank you!
FabianBeiner commented
Thank you!