Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Commit

Permalink
Merge pull request #28 from amel007/master
Browse files Browse the repository at this point in the history
fix 'delay' option for guzzle 6
  • Loading branch information
WyriHaximus committed Apr 2, 2019
2 parents c4b6c03 + 1221a24 commit 328a7b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/RequestFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ protected function convertOptions(array $options)
unset($options['save_to']);
}

if (isset($options['delay'])) {
$options['delay'] = $options['delay']/1000;
}

if (isset($options['allow_redirects'])) {
$this->convertRedirectOption($options);
}
Expand Down

0 comments on commit 328a7b8

Please sign in to comment.