Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4633bd4

Browse filesBrowse files
authored
[Messenger] Fix syntax of Return Type Declaration
1 parent 401ac36 commit 4633bd4
Copy full SHA for 4633bd4

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎messenger.rst

Copy file name to clipboardExpand all lines: messenger.rst
+3-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.