worldia / textmaster-api

Simple PHP client for the Textmaster API
1 stars 5 forks source link

Error in README documentation #86

Closed jmleroux closed 7 years ago

jmleroux commented 7 years ago

According to the \Textmaster\Client constructor, i think there is an error in the README documentation:

Basic usage of php-textmaster-api client

$client = new \Textmaster\Client();
$projects = $client->projects()->all();

The Client must have a HttpClientInterface as first argument: https://github.com/worldia/textmaster-api/blob/master/lib/Textmaster/Client.php#L66