Skip to content

Commit a9abb36

Browse files
Turn @method annotations into real method declarations
1 parent 8a6ab22 commit a9abb36

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

MockHttpClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function getRequestsCount(): int
100100
/**
101101
* {@inheritdoc}
102102
*/
103-
public function withOptions(array $options): self
103+
public function withOptions(array $options): static
104104
{
105105
$clone = clone $this;
106106
$clone->defaultOptions = self::mergeDefaultOptions($options, $this->defaultOptions, true);

ScopingHttpClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public function setLogger(LoggerInterface $logger): void
121121
/**
122122
* {@inheritdoc}
123123
*/
124-
public function withOptions(array $options): self
124+
public function withOptions(array $options): static
125125
{
126126
$clone = clone $this;
127127
$clone->client = $this->client->withOptions($options);

0 commit comments

Comments
 (0)