Skip to content

Commit 753edef

Browse files
committed
docs: fix some type.
1 parent 6f93b8b commit 753edef

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

system/Helpers/array_helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ function _array_search_dot(array $indexes, array $array)
103103
/**
104104
* Returns the value of an element at a key in an array of uncertain depth.
105105
*
106-
* @param float|int|string $key
106+
* @param int|string $key
107107
*
108108
* @return array|bool|float|int|object|string|null
109109
*/

system/Helpers/filesystem_helper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,8 @@ function get_dir_file_info(string $sourceDir, bool $topLevelOnly = true, bool $r
292292
* Options are: name, server_path, size, date, readable, writable, executable, fileperms
293293
* Returns false if the file cannot be found.
294294
*
295-
* @param string $file Path to file
296-
* @param array|string|null $returnedValues Array or comma separated string of information returned
295+
* @param string $file Path to file
296+
* @param array|string $returnedValues Array or comma separated string of information returned
297297
*
298298
* @return array|null
299299
*/

0 commit comments

Comments
 (0)