Skip to content

Commit

Permalink
minor #10267 [Messenger] Fix syntax of Return Type Declaration (nicoweb)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
javiereguiluz committed Sep 6, 2018
2 parents 401ac36 + 4633bd4 commit 107c85b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions messenger.rst
Expand Up @@ -809,17 +809,17 @@ the ``SenderInterface`` and ``ReceiverInterface``). It will look like this::

class YourTransport implements TransportInterface
{
public function send($message) : void
public function send($message): void
{
// ...
}

public function receive(callable $handler) : void
public function receive(callable $handler): void
{
// ...
}

public function stop() : void
public function stop(): void
{
// ...
}
Expand Down

0 comments on commit 107c85b

Please sign in to comment.