You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return'`//'+str+'` should be `//'+createReplacement(str,includeDP)+'` (return annotations for values of type `'+returnType+'` must always include a decimal point)';
103
+
return'`//'+str+'` should be `//'+createReplacement(str,flg)+'` (return annotations for values of type `'+rType+'` must always include a decimal point)';
104
104
}
105
105
}
106
106
elseif(contains(val,'.0')){
107
-
return'`//'+str+'` should be `//'+createReplacement(str,includeDP)+'` (return annotations for values of type `'+returnType+'` must NOT include a decimal point)';
107
+
return'`//'+str+'` should be `//'+createReplacement(str,flg)+'` (return annotations for values of type `'+rType+'` must NOT include a decimal point)';
108
108
}
109
109
}
110
110
returnnull;
111
111
}
112
112
113
113
/**
114
-
* Rule for validating that (only) return annotations for floating-point typed values always contain decimal points.
114
+
* Rule for validating that only return annotations for real-valued return values always contain decimal points.
0 commit comments