Skip to content

Commit

Permalink
Squashed 'src/http-client/' changes from bb076ff6..cb768475
Browse files Browse the repository at this point in the history
cb768475 fix timeout option
452360c6 Update README.md

git-subtree-dir: src/http-client
git-subtree-split: cb768475aa6e84f0cd011ac4751c7308616d4d22
  • Loading branch information
huangzhhui committed Jul 10, 2018
1 parent 8e54ed2 commit 88d07a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Adapter/CoroutineAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ private function handleOptions(array $options): array

// Timeout
if (isset($options['timeout']) && is_numeric($options['timeout'])) {
$options['_options']['timeout'] = $options['timeout'] * 1000;
$options['_options']['timeout'] = $options['timeout'];
}

return $options;
Expand Down
2 changes: 1 addition & 1 deletion test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
Docker Compose: `docker-compose up`

## Standard of Script
1. All `TestCase` should be extends `\SwoftTest\HttpClient\AbstractTestCase` class
1. All `TestCase` should be extends `\SwoftTest\HttpClient\AbstractTestCase` abstract class

0 comments on commit 88d07a8

Please sign in to comment.