Fixed argument type issue (symfony 2.4)