Skip to content

Commit 8237604

Browse files
committed
return mixed instead of extra template type
1 parent bc665ca commit 8237604

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Illuminate/Console/Concerns/InteractsWithIO.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,10 +251,9 @@ public function table($headers, $rows, $tableStyle = 'default', array $columnSty
251251
* @template TKey of array-key
252252
* @template TValue
253253
* @template TIterable of iterable<TKey, TValue>
254-
* @template TReturnType
255254
*
256255
* @param TIterable|int $totalSteps
257-
* @param \Closure(\Symfony\Component\Console\Helper\ProgressBar): TReturnType|\Closure(TValue, \Symfony\Component\Console\Helper\ProgressBar, TKey): TReturnType $callback
256+
* @param \Closure(\Symfony\Component\Console\Helper\ProgressBar): mixed|\Closure(TValue, \Symfony\Component\Console\Helper\ProgressBar, TKey): mixed $callback
258257
* @return ($totalSteps is iterable ? TIterable : void)
259258
*/
260259
public function withProgressBar($totalSteps, Closure $callback)

0 commit comments

Comments
 (0)