Skip to content

Commit 8d36b24

Browse files
committed
Merge branch '6.0' into 6.1
* 6.0: Fix CS Fix CS
2 parents 894d581 + 6f21a0b commit 8d36b24

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

Command/ConsumeMessagesCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,11 @@ private function convertToBytes(string $memoryLimit): int
252252

253253
switch (substr(rtrim($memoryLimit, 'b'), -1)) {
254254
case 't': $max *= 1024;
255+
// no break
255256
case 'g': $max *= 1024;
257+
// no break
256258
case 'm': $max *= 1024;
259+
// no break
257260
case 'k': $max *= 1024;
258261
}
259262

Handler/BatchHandlerInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ interface BatchHandlerInterface
2323
* @return mixed The number of pending messages in the batch if $ack is not null,
2424
* the result from handling the message otherwise
2525
*/
26-
//public function __invoke(object $message, Acknowledger $ack = null): mixed;
26+
// public function __invoke(object $message, Acknowledger $ack = null): mixed;
2727

2828
/**
2929
* Flushes any pending buffers.

Tests/DataCollector/MessengerDataCollectorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public function testHandleWithException()
122122
]
123123
]
124124
DUMP
125-
, $this->getDataAsString($messages[0]));
125+
, $this->getDataAsString($messages[0]));
126126
}
127127

128128
public function testKeepsOrderedDispatchCalls()

0 commit comments

Comments
 (0)