Skip to content

Commit 1ced476

Browse files
authored
Iterate docs (#24)
1 parent 4a78c2b commit 1ced476

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ $array = [
8383

8484
$progressBar = new \NickBeen\ProgressBar\ProgressBar();
8585

86-
foreach ($progressBar->iterate($array as $key => $value);) {
86+
foreach ($progressBar->iterate($array) as $key => $value) {
8787
echo "$key: $value" . PHP_EOL;
8888
}
8989
```

0 commit comments

Comments
 (0)