Skip to content

Commit

Permalink
Update CommandHelperTrait.php
Browse files Browse the repository at this point in the history
  • Loading branch information
freost committed Dec 21, 2024
1 parent ed31ac6 commit e69034b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mako/reactor/traits/CommandHelperTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ protected function progressIterator(
/**
* Draws a spinner while executing the callback.
*/
protected function spinner(string $message, callable $callback, Frames $frames = new Frames('<green>%s</green>')): void
protected function spinner(string $message, callable $callback, Frames $frames = new Frames('<green>%s</green>')): mixed
{
(new Spinner($this->output, $frames))->spin($message, $callback);
return (new Spinner($this->output, $frames))->spin($message, $callback);
}

/**
Expand Down

0 comments on commit e69034b

Please sign in to comment.