mirror of
https://github.com/flarum/core.git
synced 2025-07-19 15:51:16 +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
|
// Lowercase the class name
|
||||||
$queue = strtolower($queue);
|
$queue = strtolower($queue);
|
||||||
// Drop everything like queue SyncQueue, RedisQueue
|
// Drop everything like queue SyncQueue, RedisQueue
|
||||||
$queue = str_replace('queue', null, $queue);
|
$queue = str_replace('queue', '', $queue);
|
||||||
|
|
||||||
return $queue;
|
return $queue;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user