Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
irekk-wf committed Feb 27, 2020
1 parent aacf9f8 commit dc34298
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Now let's tell composer about our project's dependancies, in this case, PHPNats.
```
{
"require": {
"workfront/nats": "^2.2.2"
"workfront/nats": "^2.2.0"
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "library",
"minimum-stability": "dev",
"license": "MIT",
"version": "2.2.2",
"version": "2.2.0",
"require": {
"php": "^7.1"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Nats/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public function setStreamTimeout($timeout)
return false;
}
list($number, $decimals) = $this->getNumberAndDecimals($timeout);
return stream_set_timeout($this->streamSocket, $number, $micro);
return stream_set_timeout($this->streamSocket, $number, $decimals);
}

/**
Expand Down

0 comments on commit dc34298

Please sign in to comment.