1
0
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:
Michael Dowling 2014-02-09 10:22:17 -08:00
parent 5978d6d48b
commit e43ce6ec5c
2 changed files with 1 additions and 2 deletions

View File

@ -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)

View File

@ -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);
}