1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-13 10:15:28 +02:00
This commit is contained in:
Ryan Cramer
2022-11-18 12:17:23 -05:00
parent 3d1c64f7e0
commit 2aedd2b6f5
4 changed files with 7 additions and 7 deletions

View File

@@ -3989,7 +3989,7 @@ class Sanitizer extends Wire {
/**
* Sanitize value to be within the given min and max range
*
* If float or decimal string specified for $min argument, return value will be a float,
* If float or decimal string specified for $min or $max arguments, return value will be a float,
* otherwise an integer is returned.
*
* ~~~~~
@@ -4028,7 +4028,7 @@ class Sanitizer extends Wire {
}
/**
* Sanitize value to be at least the given $min value
* Sanitize to have a minimum value
*
* If float or decimal string specified for $min argument, return value will be a float,
* otherwise an integer is returned.
@@ -4054,9 +4054,9 @@ class Sanitizer extends Wire {
}
/**
* Sanitize value to be at least the given $min value
* Sanitize to have a maximuim value
*
* If float or decimal string specified for $min argument, return value will be a float,
* If float or decimal string specified for $max argument, return value will be a float,
* otherwise an integer is returned.
*
* ~~~~~