symfony/symfony — pull request #2905 by tacman (2011-12-16 15:49:24+00:00)
Title: Warning thrown on $options['widget']

I'm trying to avoid getting a warning thrown when $options['widget'] isn't set. Hoping this is the right solution, alternatively $options['widget'] could have a default? I realize that the real problem might be the method that calls this should have this option set. So this is just doing a simple isset() check before using it.