I think this code example is a bit problematic because the conditional
statement is not actually returning a boolean value, it's relying on
php's loose comparisons to evaluate the truth of the conditional.  I
think it's clearer to explicitly indicate your true / false condition:

if (null !== ($results = $this->getResults()))
{

Just my two bits.

David Juhasz

--

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