Changed return expression in ParameterTrait::hasRequiredParameters().