Example has syntax error
Closed this issue ยท 3 comments
binoculars88 commented
Stumbled upon this part in the documentation:
for ($client->iterateUsersList() as $user) {
$userNames[] = $user->getName();
}
which should probably be:
foreach ($client->iterateUsersList() as $user) {
$userNames[] = $user->getName();
}
pyrech commented
Good catch @binoculars88 ๐ . Do you want to fix the code in the documentation (It's located inside the docs directory of this repository)?
binoculars88 commented
@pyrech sure! Here you go.
pyrech commented
Thanks, PR merged ๐