Skip to content

Commit dc34298

Browse files
committed
More fixes
1 parent aacf9f8 commit dc34298

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Now let's tell composer about our project's dependancies, in this case, PHPNats.
3030
```
3131
{
3232
"require": {
33-
"workfront/nats": "^2.2.2"
33+
"workfront/nats": "^2.2.0"
3434
}
3535
}
3636
```

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"type": "library",
55
"minimum-stability": "dev",
66
"license": "MIT",
7-
"version": "2.2.2",
7+
"version": "2.2.0",
88
"require": {
99
"php": "^7.1"
1010
},

src/Nats/Connection.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public function setStreamTimeout($timeout)
180180
return false;
181181
}
182182
list($number, $decimals) = $this->getNumberAndDecimals($timeout);
183-
return stream_set_timeout($this->streamSocket, $number, $micro);
183+
return stream_set_timeout($this->streamSocket, $number, $decimals);
184184
}
185185

186186
/**

0 commit comments

Comments
 (0)