Skip to content

Commit ed10b74

Browse files
committed
ALLI-21969: sync handler docs with api
1 parent 67c1933 commit ed10b74

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

docs/handlers.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,13 @@ figure out how to deal with each message appropriately.
1414

1515
An object that can handle (process or act upon) a single message.
1616

17-
.. php:method:: handle(PMG\\Queue\\Message $handle, array $options=[])
17+
.. php:method:: handle(object $message, array $options=[])
1818
19-
:param $handle: The message to handle.
19+
:param $message: The message to handle.
2020
:param $options: A set of options from the consumer.
21-
:return: A boolean indicating whether the message was handled successfully.
22-
:rtype: boolean
21+
:return: A promise resolving to a boolean indicating whether the message
22+
was handled successfully.
23+
:rtype: PromiseInterface
2324

2425

2526
Callable Handler

0 commit comments

Comments
 (0)