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 107c85b

Browse filesBrowse 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
Copy full SHA for 107c85b

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.