Skip to content

Commit

Permalink
Apply fixes from StyleCI (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
RahulDey12 authored Feb 15, 2022
1 parent ca738e7 commit fc0a4e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/LaravelConsoleSpinnerServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ function ($totalSteps, \Closure $callback, string $message = '', array $options
is_iterable($totalSteps) ? count($totalSteps) : $totalSteps
);
$spinner->setMessage($message);

// Set more options
foreach($options as $option => $value) {
$method = 'set' . ucfirst($option);
foreach ($options as $option => $value) {
$method = 'set'.ucfirst($option);
$spinner->{$method}($value);
}

$spinner->start();

if (is_iterable($totalSteps)) {
Expand Down

0 comments on commit fc0a4e3

Please sign in to comment.