diff --git a/composer.json b/composer.json index e3ca02c..66a1127 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ } ], "require": { - "guzzlehttp/guzzle": ">=5.3 <6.3" + "guzzlehttp/guzzle": "^6.0.0" }, "require-dev": { "phpunit/phpunit": "4.0.*" diff --git a/readme.md b/readme.md index 4b5caac..fdac15b 100644 --- a/readme.md +++ b/readme.md @@ -457,14 +457,14 @@ foreach ($school->employees->all() as $employee) { } ``` -### Employee Absencess +### Employee Absences ```php $client = new \Wonde\Client('TOKEN_GOES_HERE'); $school = $client->school('SCHOOL_ID_GOES_HERE'); -// Get employee absencess +// Get employee absences foreach ($school->employeeAbsences->all() as $employeeAbsence) { echo $employeeAbsence->employee . ' ' . $employeeAbsence->absence_type . PHP_EOL; }