diff --git a/wire/config.php b/wire/config.php index fc7841e6..b661fedd 100644 --- a/wire/config.php +++ b/wire/config.php @@ -506,7 +506,7 @@ $config->loginDisabledRoles = array( /** * Allow template files to be compiled? * - * Set to false do disable the option for compiled template files. + * Set to false to disable the option for compiled template files. * When set to true, it will be used unless a given template's 'compile' option is set to 0. * This setting also covers system status files like /site/ready.php, /site/init.php, etc. (3.0.142+) * diff --git a/wire/core/Pageimage.php b/wire/core/Pageimage.php index 882c8cf6..1b1d761d 100644 --- a/wire/core/Pageimage.php +++ b/wire/core/Pageimage.php @@ -616,7 +616,7 @@ class Pageimage extends Pagefile { * * - `quality` (int): Quality setting 1-100 (default=90, or as specified in /site/config.php). * - `upscaling` (bool): Allow image to be upscaled? (default=true). - * - `cropping` (string|bool|array): Cropping mode, see possible values in "cropping" section below (default=center). + * - `cropping` (string|bool|array): Cropping mode, see possible values in "cropping" section below (default=true). * - `suffix` (string|array): Suffix word to identify the new image, or use array of words for multiple (default=none). * - `forceNew` (bool): Force re-creation of the image even if it already exists? (default=false). * - `sharpening` (string): Sharpening mode: "none", "soft", "medium", or "strong" (default=soft). diff --git a/wire/core/Sanitizer.php b/wire/core/Sanitizer.php index d54cd3fa..ddc65942 100644 --- a/wire/core/Sanitizer.php +++ b/wire/core/Sanitizer.php @@ -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. * * ~~~~~ diff --git a/wire/core/WireHttp.php b/wire/core/WireHttp.php index f09c79a6..5bfe9735 100644 --- a/wire/core/WireHttp.php +++ b/wire/core/WireHttp.php @@ -909,7 +909,7 @@ class WireHttp extends Wire { * * @param string $fromURL URL of file you want to download. * @param string $toFile Filename you want to save it to (including full path). - * @param array $options Optional aptions array for PHP's stream_context_create(), plus these optional options: + * @param array $options Optional options array for PHP's stream_context_create(), plus these optional options: * - `use` or `useMethod` (string): Specify "curl", "fopen" or "socket" to force a specific method (default=auto-detect). * - `timeout` (float): Number of seconds till timeout. * @return string Filename that was downloaded (including full path).