Skip to content

Commit

Permalink
remove optional value
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Nov 18, 2020
1 parent 6381aa9 commit 169fd2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Console/Concerns/InteractsWithIO.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public function table($headers, $rows, $tableStyle = 'default', array $columnSty
* @param \Closure $callback
* @return mixed|void
*/
public function withProgressBar($totalSteps = 0, Closure $callback)
public function withProgressBar($totalSteps, Closure $callback)
{
$bar = $this->output->createProgressBar(
is_iterable($totalSteps) ? count($totalSteps) : $totalSteps
Expand Down

0 comments on commit 169fd2b

Please sign in to comment.