From e69034b9d8328e8b1ba5e841d22df78bd5a56311 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frederic=20G=2E=20=C3=98stby?= Date: Sun, 22 Dec 2024 00:36:38 +0100 Subject: [PATCH] Update CommandHelperTrait.php --- src/mako/reactor/traits/CommandHelperTrait.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mako/reactor/traits/CommandHelperTrait.php b/src/mako/reactor/traits/CommandHelperTrait.php index 646f59a7e..90d38e3e2 100644 --- a/src/mako/reactor/traits/CommandHelperTrait.php +++ b/src/mako/reactor/traits/CommandHelperTrait.php @@ -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('%s')): void + protected function spinner(string $message, callable $callback, Frames $frames = new Frames('%s')): mixed { - (new Spinner($this->output, $frames))->spin($message, $callback); + return (new Spinner($this->output, $frames))->spin($message, $callback); } /**