Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added progress bar for clear command #1623

Merged
merged 6 commits into from
Feb 10, 2020
Merged

Added progress bar for clear command #1623

merged 6 commits into from
Feb 10, 2020

Conversation

ahmed-aliraqi
Copy link

No description provided.


$this->info('All done!');
$this->info("\nAll done!");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you remove that \n?


$progressBar = $this->output->createProgressBar($mediaItems->count());

$mediaItems->each(function ($media) use ($progressBar) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typehint the $media parameter.

@freekmurze freekmurze changed the base branch from master to v8 February 10, 2020 23:55
@freekmurze freekmurze merged commit 3270616 into spatie:v8 Feb 10, 2020
@freekmurze
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants