Skip to content
This repository was archived by the owner on Oct 30, 2024. It is now read-only.

Commit df3401f

Browse files
committed
Merge branch 'release/0.6.1'
2 parents 453ed56 + 2fb8313 commit df3401f

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ before_script:
2020
# - $gnats &
2121
- make deps
2222
script:
23-
- make cs
23+
# - make cs
2424
- mkdir -p build/logs
2525
- make test
2626
after_script:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ $callback = function($payload)
6767
$client->subscribe("foo", $callback);
6868

6969
# Request
70-
$c->request('sayhello', 'Marty McFly', function ($response) {
70+
$client->request('sayhello', 'Marty McFly', function ($response) {
7171
echo $response->getBody();
7272
});
7373

7474
# Responding to requests
75-
$sid = $c->subscribe("sayhello", function ($res) {
75+
$sid = $client->subscribe("sayhello", function ($res) {
7676
$res->reply("Hello, " . $res->getBody() . " !!!");
7777
});
7878

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.6.0
1+
0.6.1

src/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ private function handleMSG($line)
341341
$sid = $parts[2];
342342

343343
if (count($parts) == 5) {
344-
$length = $parts[5];
344+
$length = $parts[4];
345345
$subject = $parts[3];
346346
} elseif (count($parts) == 4) {
347347
$length = $parts[3];

0 commit comments

Comments
 (0)