On Sep 16, 2011, at 11:57 , Oleg Stepura wrote:

> Oh, c'mon!
> 
> Are you serious? boolean data type is a primitive type in PHP and MUST be 
> written same way as all other primitives. If it was an object - there could 
> be reasons to mark it as Boolean. When you program in IDE you would not 
> recall George Boole, but rather be confused why IDE says the data type you 
> entered is incorrect (not the same as the method you call expects to receive 
> via it's annotations).
> 
> Most of PHP programmers used to write annotations for PHPDocumentor, and here 
> is the example of @param annotation tag on their site:  
> http://manual.phpdoc.org/HTMLframesConverter/default/phpDocumentor/tutorial_tags.param.pkg.html#example
> And description to it:
> 
> > The datatype should be a valid PHP type (int, string, bool, etc), a class 
> > name for the type of object, or simply "mixed".
>  
> It's "bool". 

personally i would also prefer "bool" but I dont care that much and so I can 
live with "Boolean" just as well.

regards,
Lukas Kahwe Smith
[email protected]



-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to