Skip to content

Commit 1b85be6

Browse files
authored
Merge pull request #124 from binoculars88/patch-1
Fix syntax error in example
2 parents 227518e + 6ee2fc7 commit 1b85be6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/2-usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ prefixing the classic method by `iterate`. Here is an example with `usersList()`
5050
$userNames = [];
5151

5252
/** @var JoliCode\Slack\Api\Model\ObjsUser $user */
53-
for ($client->iterateUsersList() as $user) {
53+
foreach ($client->iterateUsersList() as $user) {
5454
$userNames[] = $user->getName();
5555
}
5656
```

0 commit comments

Comments
 (0)