Skip to content

Commit

Permalink
Remove typehint
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwathan committed Jun 10, 2019
1 parent e4ae7ac commit 92662d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Zttp.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ function send($method, $url, $options)
try {
return tap(new ZttpResponse($this->buildClient()->request($method, $url, $this->mergeOptions([
'query' => $this->parseQueryParams($url),
'on_stats' => function (\GuzzleHttp\TransferStats $stats) {
$this->transferStats = $stats;
'on_stats' => function ($transferStats) {
$this->transferStats = $transferStats;
}
], $options))), function($response) {
$response->cookies = $this->cookies;
Expand Down

0 comments on commit 92662d7

Please sign in to comment.