From 054defab6ce86c110d847c8208e327fd7bb73fae Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Wed, 13 Jan 2016 17:04:01 +0100 Subject: [PATCH] fixed docs fixes #2421 --- framework/validators/CFileValidator.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/framework/validators/CFileValidator.php b/framework/validators/CFileValidator.php index bc30d4ff3..070560ce2 100644 --- a/framework/validators/CFileValidator.php +++ b/framework/validators/CFileValidator.php @@ -301,7 +301,9 @@ class CFileValidator extends CValidator } /** - * Converts php.ini style size to bytes. Examples of size strings are: 150, 1g, 500k, 5M (size suffix + * Converts php.ini style size to bytes. + * + * Examples of size strings are: 150, 1g, 500k, 5M (size suffix * is case insensitive). If you pass here the number with a fractional part, then everything after * the decimal point will be ignored (php.ini values common behavior). For example 1.5G value would be * treated as 1G and 1073741824 number will be returned as a result. This method is public