mirror of
https://github.com/flarum/core.git
synced 2025-07-17 14:51:19 +02:00
fix: minor backward compatible fix for php 8.1 in st_replace
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user