Skip to content

Commit

Permalink
Merge 293074d into d005f7c
Browse files Browse the repository at this point in the history
  • Loading branch information
soyuka committed May 10, 2021
2 parents d005f7c + 293074d commit 675a32c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Bridge/Symfony/Bundle/Test/Client.php
Expand Up @@ -244,4 +244,16 @@ private static function extractHeaders(array $options): array

return $headers;
}

/**
* {@inheritdoc}
* TODO: Delete this when we can use symfony/http-client:^5.3.
*/
public function withOptions(array $options): self
{
$clone = clone $this;
$clone->defaultOptions = self::mergeDefaultOptions($options, $this->defaultOptions);

return $clone;
}
}

0 comments on commit 675a32c

Please sign in to comment.