We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02cf2ff commit c1c69dcCopy full SHA for c1c69dc
1 file changed
CHANGELOG.md
@@ -8,16 +8,16 @@
8
(#38 by @clue)
9
10
```php
11
-// old
12
-$client->on('data', function (MessageInterface $message, Client $client) {
13
- // process an incoming message (raw message object)
14
-});
15
-
16
-// new
17
-$client->on('data', function (MessageInterface $message) use ($client) {
18
19
20
-```
+ // old
+ $client->on('data', function (MessageInterface $message, Client $client) {
+ // process an incoming message (raw message object)
+ });
+
+ // new
+ $client->on('data', function (MessageInterface $message) use ($client) {
+ ```
21
22
> Contains no other changes, so it's actually fully compatible with the v0.5.2 release.
23
0 commit comments