Skip to content

Commit c58e1af

Browse files
authored
Merge pull request #796 from kaznovac/patch-1
fix comment on QueueConsumer constructor
2 parents dfaccd3 + 2bfa42e commit c58e1af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/enqueue/Consumption/QueueConsumer.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ final class QueueConsumer implements QueueConsumerInterface
4343
private $boundProcessors;
4444

4545
/**
46-
* @var int|float in milliseconds
46+
* @var int in milliseconds
4747
*/
4848
private $receiveTimeout;
4949

@@ -59,7 +59,7 @@ final class QueueConsumer implements QueueConsumerInterface
5959

6060
/**
6161
* @param BoundProcessor[] $boundProcessors
62-
* @param int|float $receiveTimeout the time in milliseconds queue consumer waits for a message (10 ms by default)
62+
* @param int $receiveTimeout the time in milliseconds queue consumer waits for a message (10000 ms by default)
6363
*/
6464
public function __construct(
6565
InteropContext $interopContext,

0 commit comments

Comments
 (0)