Skip to content

Commit 4633bd4

Browse files
authored
[Messenger] Fix syntax of Return Type Declaration
1 parent 401ac36 commit 4633bd4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

messenger.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -809,17 +809,17 @@ the ``SenderInterface`` and ``ReceiverInterface``). It will look like this::
809809

810810
class YourTransport implements TransportInterface
811811
{
812-
public function send($message) : void
812+
public function send($message): void
813813
{
814814
// ...
815815
}
816816

817-
public function receive(callable $handler) : void
817+
public function receive(callable $handler): void
818818
{
819819
// ...
820820
}
821821

822-
public function stop() : void
822+
public function stop(): void
823823
{
824824
// ...
825825
}

0 commit comments

Comments
 (0)