Fix types inconsistency in behat FeatureContext