Re: Re: exceptions, errors, and documentation
| From: | Greg Beaver | Date: | Tue, 08 Jun 2004 19:18:04 +0000 |
| Subject: | Re: Re: exceptions, errors, and documentation | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-30208@lists.php.net to get a copy of this message | ||
Michael Wallner wrote:
Hi Greg Beaver, you wrote:No, the proto is void by default as in @return void @return mixed implies that the user should expect any valid PHP type as the return, and the documentation will describe any limitations. @return bool|PEAR_Error say that the user should expect either true, false, or a PEAR_Error Greg@ return bool|PEAR_Error MUCH clearer. Mixed is a bit vague, we don't want people thinking we return cash money prizes as well as a PEAR_Error.Is phpDocumentor marking the proto as mixed then?