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
thrownewRequestValidationException(\sprintf('Invalid %s value. Given: `%s`. Cannot be less than 0.', 'optionalNumberBetweenIncluded', $optionalNumberBetweenIncluded));
320
320
}
321
-
if ($optionalNumberBetweenIncluded > 5) {
321
+
if ($optionalNumberBetweenIncluded > 5.0) {
322
322
thrownewRequestValidationException(\sprintf('Invalid %s value. Given: `%s`. Cannot be greater than 5.', 'optionalNumberBetweenIncluded', $optionalNumberBetweenIncluded));
thrownewRequestValidationException(\sprintf('Invalid %s value. Given: `%s`. Cannot be less than or equal to 0.', 'optionalNumberBetweenExcluded', $optionalNumberBetweenExcluded));
336
336
}
337
-
if ($optionalNumberBetweenExcluded >= 5) {
337
+
if ($optionalNumberBetweenExcluded >= 5.0) {
338
338
thrownewRequestValidationException(\sprintf('Invalid %s value. Given: `%s`. Cannot be greater than or equal to 5.', 'optionalNumberBetweenExcluded', $optionalNumberBetweenExcluded));
thrownewRequestValidationException(\sprintf('Invalid %s value. Given: `%s`. Cannot be less than 0.', 'optionalNumberBetweenIncluded', $optionalNumberBetweenIncluded));
313
313
}
314
-
if ($optionalNumberBetweenIncluded > 5) {
314
+
if ($optionalNumberBetweenIncluded > 5.0) {
315
315
thrownewRequestValidationException(\sprintf('Invalid %s value. Given: `%s`. Cannot be greater than 5.', 'optionalNumberBetweenIncluded', $optionalNumberBetweenIncluded));
thrownewRequestValidationException(\sprintf('Invalid %s value. Given: `%s`. Cannot be less than or equal to 0.', 'optionalNumberBetweenExcluded', $optionalNumberBetweenExcluded));
329
329
}
330
-
if ($optionalNumberBetweenExcluded >= 5) {
330
+
if ($optionalNumberBetweenExcluded >= 5.0) {
331
331
thrownewRequestValidationException(\sprintf('Invalid %s value. Given: `%s`. Cannot be greater than or equal to 5.', 'optionalNumberBetweenExcluded', $optionalNumberBetweenExcluded));
thrownewRequestValidationException(\sprintf('Invalid %s value. Given: `%s`. Cannot be less than 0.', 'optionalNumberBetweenIncluded', $optionalNumberBetweenIncluded));
285
285
}
286
-
if ($optionalNumberBetweenIncluded > 5) {
286
+
if ($optionalNumberBetweenIncluded > 5.0) {
287
287
thrownewRequestValidationException(\sprintf('Invalid %s value. Given: `%s`. Cannot be greater than 5.', 'optionalNumberBetweenIncluded', $optionalNumberBetweenIncluded));
thrownewRequestValidationException(\sprintf('Invalid %s value. Given: `%s`. Cannot be less than or equal to 0.', 'optionalNumberBetweenExcluded', $optionalNumberBetweenExcluded));
301
301
}
302
-
if ($optionalNumberBetweenExcluded >= 5) {
302
+
if ($optionalNumberBetweenExcluded >= 5.0) {
303
303
thrownewRequestValidationException(\sprintf('Invalid %s value. Given: `%s`. Cannot be greater than or equal to 5.', 'optionalNumberBetweenExcluded', $optionalNumberBetweenExcluded));
0 commit comments