Oh, c'mon!

Are you serious? *b*oolean 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 *B*oolean. 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*". 

And in PHP documentation it's called *boolean* (lowercase):
http://www.php.net/manual/en/language.types.boolean.php

-- 
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