made param converter compatible with newer symfony version

Not sure if you were using an older version of symfony but this seems to fix it. This could cause backward compatibility issues though