Skip to content

Commit e89ec3f

Browse files
authored
Remove deprecated codes (#5812)
1 parent 372b5b4 commit e89ec3f

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

src/Client.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -195,14 +195,6 @@ public function initRequest(string $method, string $path, array $options = []):
195195
->withUploadedFiles($this->normalizeFiles($multipart));
196196
}
197197

198-
/**
199-
* @deprecated It will be removed in v3.0
200-
*/
201-
protected function init(string $method, string $path, array $options = []): ServerRequestInterface
202-
{
203-
return $this->initRequest($method, $path, $options);
204-
}
205-
206198
protected function execute(ServerRequestInterface $psr7Request): ResponseInterface
207199
{
208200
$this->persistToContext($psr7Request, new Psr7Response());

src/Http/Client.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -174,14 +174,6 @@ public function initRequest(string $method, string $path, array $options = []):
174174
->withUploadedFiles($this->normalizeFiles($multipart));
175175
}
176176

177-
/**
178-
* @deprecated It will be removed in v3.0
179-
*/
180-
protected function init(string $method, string $path, array $options = []): ServerRequestInterface
181-
{
182-
return $this->initRequest($method, $path, $options);
183-
}
184-
185177
protected function execute(ServerRequestInterface $psr7Request): ResponseInterface
186178
{
187179
$this->persistToContext($psr7Request, new Psr7Response());

0 commit comments

Comments
 (0)