Skip to content

Commit e70e7c3

Browse files
committed
Fixed signature of ConsumerInterface::execute
1 parent da40764 commit e70e7c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RabbitMq/ConsumerInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ interface ConsumerInterface
3333

3434
/**
3535
* @param AMQPMessage $msg The message
36-
* @return int One of ConsumerInterface::MSG_* constants according to callback outcome.
36+
* @return int|bool One of ConsumerInterface::MSG_* constants according to callback outcome, or false otherwise.
3737
*/
3838
public function execute(AMQPMessage $msg);
3939
}

0 commit comments

Comments
 (0)