Remove useless nested switch case
Remove useless nested switch case

This is simpler and doesn't make PHPCS go crazy when trying to indent
things properly.

lcobucci/doctrine2,holtkamp/doctrine2,lcobucci/doctrine2,holtkamp/doctrine2