ZF-3779: Zend_Locale : some methods accept object or string and are not properly coded
Zend_Locale's constructor docblock says
@param string $locale (Optional) Locale for parsing input
The constructor looks for a string, but also looks for a Zend_Locale object to call its toString() method. The docblock should reflect that fact.
Same (revert) for the setDefault() method, docblock says
@param string|Zend_Locale $locale Locale to set
But this time, the method doesn't accept a Zend_Locale object as param, it should ( calling its toString() method).