ZF-10182: Zend_Oauth_Client in your constructor should accepts array and object config.
Description
Big problem only the type hinting in constructor already that your code internal is prepared for this behavior.
See Zend_Oauth_Client line 82 the 84.
if ($oauthOptions instanceof Zend_Config) {
$oauthOptions = $oauthOptions->toArray();
}
Comments
Posted by Ramon Henrique Ornelas (ramon) on 2010-08-19T05:00:47.000+0000
Fixed with r22650.
Posted by Till Klampaeckel (till) on 2011-05-20T15:44:12.000+0000
This is not fixed.
1) Update the docblock for the first parameter.
2) The third parameter supposedly supports both too, but when {{Zend_Config}} is supplied, it errors because it tries to access the config using array notation.
Posted by Till Klampaeckel (till) on 2011-05-20T15:45:45.000+0000
Here's a patch for you:
Posted by Ramon Henrique Ornelas (ramon) on 2011-07-30T03:14:19.000+0000
Fix config http client how Zend_Config r24311.