mirror of
https://github.com/guzzle/guzzle.git
synced 2025-02-25 02:22:57 +01:00
I would rather not return the Collection directly. Removing invalid docblock tag.
This commit is contained in:
parent
5978d6d48b
commit
e43ce6ec5c
@ -95,7 +95,7 @@ class Client implements ClientInterface
|
||||
|
||||
public function getConfig($keyOrPath = null)
|
||||
{
|
||||
return $keyOrPath === null ? $this->config : $this->config->getPath($keyOrPath);
|
||||
return $keyOrPath === null ? $this->config->toArray() : $this->config->getPath($keyOrPath);
|
||||
}
|
||||
|
||||
public function setConfig($keyOrPath, $value)
|
||||
|
@ -146,7 +146,6 @@ interface ClientInterface extends HasEmitterInterface
|
||||
* @param string|int $keyOrPath Path at which to change a configuration value. This path syntax follows the same
|
||||
* path syntax specified in {@see getConfig}.
|
||||
* @param mixed $value Value to set
|
||||
* @return mixed
|
||||
*/
|
||||
public function setConfig($keyOrPath, $value);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user