symfony/symfony — pull request #4388 by Tobion (2012-05-24 03:38:30+00:00)
Title: [OptionsResolver] fixed two bugs and applied optimization

The first commit optimizes the validation in OptionsResolver by removing several unneeded method calls.

Then I recognized two bugs in the current code that I wrote failing test cases for in the second commit.

The third commit fixes these bugs.

The forth commit applies a small optimization in Options and uses a static function call for a static function.