Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions src/Illuminate/Console/Concerns/InteractsWithIO.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,12 @@ public function table($headers, $rows, $tableStyle = 'default', array $columnSty
*
* @template TKey of array-key
* @template TValue
* @template TIterable of iterable<TKey, TValue>
* @template TReturnType
*
* @param iterable<TKey, TValue>|int $totalSteps
* @param \Closure(\Symfony\Component\Console\Helper\ProgressBar|TValue, \Symfony\Component\Console\Helper\ProgressBar|null, TKey|null): void $callback
* @return mixed|void
* @param TIterable|int $totalSteps
* @param \Closure(\Symfony\Component\Console\Helper\ProgressBar): TReturnType|\Closure(TValue, \Symfony\Component\Console\Helper\ProgressBar, TKey): TReturnType $callback
* @return ($totalSteps is iterable ? TIterable : void)
*/
public function withProgressBar($totalSteps, Closure $callback)
{
Expand Down