Skip to content

Commit

Permalink
Partially remove getConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Mar 31, 2024
1 parent db32c20 commit 418b9b7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ public function request(string $method, $uri = '', array $options = []): Respons
*
* @return mixed
*
* @deprecated Client::getConfig will be removed in guzzlehttp/guzzle:8.0.
* @deprecated Client::getConfig will be removed in guzzlehttp/guzzle:9.0.
*/
public function getConfig(?string $option = null)
{
Expand Down
15 changes: 0 additions & 15 deletions src/ClientInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,19 +66,4 @@ public function request(string $method, $uri, array $options = []): ResponseInte
* @param array $options Request options to apply.
*/
public function requestAsync(string $method, $uri, array $options = []): PromiseInterface;

/**
* Get a client configuration option.
*
* These options include default request options of the client, a "handler"
* (if utilized by the concrete client), and a "base_uri" if utilized by
* the concrete client.
*
* @param string|null $option The config option to retrieve.
*
* @return mixed
*
* @deprecated ClientInterface::getConfig will be removed in guzzlehttp/guzzle:8.0.
*/
public function getConfig(?string $option = null);
}

0 comments on commit 418b9b7

Please sign in to comment.