simplify `getParameterType`
simplify `getParameterType`

No need for creating a map to access parameter

rebuy-de/ControllerExtraBundle,c33s/ControllerExtraBundle,raizeta/ControllerExtraBundle,pmontoya/ControllerExtraBundle,mmoreram/ControllerExtraBundle