From 22bb18c0a468d207b585e66655e5ca8d21db9385 Mon Sep 17 00:00:00 2001 From: Qasim Asghar Date: Wed, 24 Oct 2018 11:46:56 +0100 Subject: [PATCH] ROAD-1040 - Update PHP Client (#8) --- composer.json | 2 +- readme.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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; }