Apply suggestions from code review
Apply suggestions from code review

Co-authored-by: Matti Schneider <1041179cbdda366fd7b0347f09255f775170e103@mattischneider.fr>

openfisca/openfisca-core,openfisca/openfisca-core