zendframework/ZendOAuth — pull request #16 by lorenzoferrarajr (2013-11-27 11:59:28+00:00)
Title: The ->getAdapter() method does not set the adapter if passed in config o...

This push relates to this issue [https://github.com/zendframework/ZendService_Twitter/pull/18](https://github.com/zendframework/ZendService_Twitter/pull/18)

`->getAdapter()` method of parent class `ZendOAuth\Client` is:

public function getAdapter()
{
if (! $this->adapter) {
$this->setAdapter($this->config['adapter']);
}

return $this->adapter;
}

but here was:

public function getAdapter()
{
return $this->adapter;
}

replaced with:

public function getAdapter()
{
return parent::getAdapter();
}