From 07b2f86dcc90a3ef17c8ee19a1a07e99a4b17360 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Klabbers?= Date: Tue, 19 Jul 2022 01:09:43 +0200 Subject: [PATCH] fix: minor backward compatible fix for php 8.1 in st_replace --- framework/core/src/Foundation/Console/InfoCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/src/Foundation/Console/InfoCommand.php b/framework/core/src/Foundation/Console/InfoCommand.php index a76479d0a..52a49502c 100644 --- a/framework/core/src/Foundation/Console/InfoCommand.php +++ b/framework/core/src/Foundation/Console/InfoCommand.php @@ -159,7 +159,7 @@ class InfoCommand extends AbstractCommand // Lowercase the class name $queue = strtolower($queue); // Drop everything like queue SyncQueue, RedisQueue - $queue = str_replace('queue', null, $queue); + $queue = str_replace('queue', '', $queue); return $queue; }