Type hint was removed for symfony 2.1 compatibility 

Quick&dirty fix for #231