Skip to content

Commit 107c85b

Browse files
committed
minor #10267 [Messenger] Fix syntax of Return Type Declaration (nicoweb)
This PR was merged into the 4.1 branch. Discussion ---------- [Messenger] Fix syntax of Return Type Declaration same problem as [here](#10265) Commits ------- 4633bd4 [Messenger] Fix syntax of Return Type Declaration
2 parents 401ac36 + 4633bd4 commit 107c85b

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)