Skip to content

Commit

Permalink
Added docBlock for callable of ProgressIndicator
Browse files Browse the repository at this point in the history
  • Loading branch information
juniwalk committed May 22, 2024
1 parent 9305239 commit 2b33e5d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Console/Tools/ProgressIndicator.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ public function execute(string $message, callable $callback): mixed


/**
* @param mixed[] $values
* @template T of mixed
* @param T[] $values
* @param (callable(static, T, int|string): ?bool) $callback
*/
public function iterate(iterable $values, callable $callback): void
{
Expand Down

0 comments on commit 2b33e5d

Please sign in to comment.