Re: Re: exceptions, errors, and documentation

From: Date: Tue, 08 Jun 2004 19:21:13 +0000
Subject: Re: Re: exceptions, errors, and documentation
References: 1 2 3 4 5 6 7 8  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-30212@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
Hm, so what will we see in <funcdef/>, or better what should it be in that case? I'd guess "mixed". Regards, http://pear.php.net/reference/PEAR_PackageFileManager-1.2.1/PEAR_PackageFileManager/PEAR_PackageFileManager.html#methodaddConfigureOption
Take a look instead of guessing -josh

« previous php.pear.dev (#30212) next »