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 = [])