Skip to content

Commit

Permalink
ROAD-1040 - Update PHP Client (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
qasimasghar authored and Hodglim committed Oct 24, 2018
1 parent 0244b0d commit 22bb18c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
],
"require": {
"guzzlehttp/guzzle": ">=5.3 <6.3"
"guzzlehttp/guzzle": "^6.0.0"
},
"require-dev": {
"phpunit/phpunit": "4.0.*"
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 22bb18c

Please sign in to comment.