ZF-11058: Documentation of return type "class instance"
Description
Hello,
that IDEs like Zend Studio can support the suggestion, the return value has to be declared, from which class the instance is returned.
Example Zend_Http_UserAgent:
/**
* @return Zend_Http_UserAgent_Device $device
*/
public function getDevice()
Now the IDE can support the suggestion of methods from this class instance.
Comments
Posted by Kai Uwe (kaiuwe) on 2011-02-09T05:34:35.000+0000
This is just an oversight. All other methods are properly documented.
Posted by Kai Uwe (kaiuwe) on 2011-02-09T05:48:25.000+0000
Patch added.
Posted by Satoru Yoshida (satoruyoshida) on 2011-02-19T03:32:42.000+0000
Thank You for reporting. Solved at SVN r23728, 23729 with setServer($server).
Because setServer was explained as: Retrieve the "$_SERVER" array .