From 1970ee0ec0f043c42a2796efea0e951af15aa7d1 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Fri, 17 Mar 2023 11:30:40 +0100 Subject: [PATCH] Fixup --- src/AsyncTools.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AsyncTools.php b/src/AsyncTools.php index bf06d4082..89d1ad111 100644 --- a/src/AsyncTools.php +++ b/src/AsyncTools.php @@ -327,7 +327,7 @@ abstract class AsyncTools extends StrTools } finally { Magic::togglePeriodicLogging(); } - return \array_shift($lines); + return \array_shift($lines) ?? ''; } /** * Asynchronously write to stdout/browser.