Removed redundant strtolower in ConsumeMessagesCommand
This commit is contained in:
parent
84a4c4db97
commit
e288834cda
@ -208,7 +208,7 @@ EOF
|
||||
private function convertToBytes(string $memoryLimit): int
|
||||
{
|
||||
$memoryLimit = strtolower($memoryLimit);
|
||||
$max = strtolower(ltrim($memoryLimit, '+'));
|
||||
$max = ltrim($memoryLimit, '+');
|
||||
if (0 === strpos($max, '0x')) {
|
||||
$max = \intval($max, 16);
|
||||
} elseif (0 === strpos($max, '0')) {
|
||||
|
Reference in New Issue
Block a user