From 740a97de49280bbcda8a3c8dfeb801af683045eb Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Fri, 16 Sep 2016 09:45:09 +0200 Subject: [PATCH] fixed file helper docs about ordering in findFiles() fixes #12546 --- framework/helpers/BaseFileHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/helpers/BaseFileHelper.php b/framework/helpers/BaseFileHelper.php index 72a78b7f7a..734330ad51 100644 --- a/framework/helpers/BaseFileHelper.php +++ b/framework/helpers/BaseFileHelper.php @@ -384,7 +384,7 @@ class BaseFileHelper * If a file path matches a pattern in both `only` and `except`, it will NOT be returned. * - `caseSensitive`: boolean, whether patterns specified at `only` or `except` should be case sensitive. Defaults to `true`. * - `recursive`: boolean, whether the files under the subdirectories should also be looked for. Defaults to `true`. - * @return array files found under the directory. The file list is sorted. + * @return array files found under the directory, in no particular order. Ordering depends on the files system used. * @throws InvalidParamException if the dir is invalid. */ public static function findFiles($dir, $options = [])