mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
commit
fc714a6451
1 changed files with 2 additions and 2 deletions
|
@ -824,7 +824,7 @@ class Hash {
|
|||
}
|
||||
|
||||
/**
|
||||
* Sorts an array by any value, determined by a Set-compatible path
|
||||
* Sorts an array by any value, determined by a Hash-compatible path
|
||||
*
|
||||
* ### Sort directions
|
||||
*
|
||||
|
@ -849,7 +849,7 @@ class Hash {
|
|||
* defaults to `false`.
|
||||
*
|
||||
* @param array $data An array of data to sort
|
||||
* @param string $path A Set-compatible path to the array value
|
||||
* @param string $path A Hash-compatible path to the array value
|
||||
* @param string $dir See directions above. Defaults to 'asc'.
|
||||
* @param array|string $type See direction types above. Defaults to 'regular'.
|
||||
* @return array Sorted array of data
|
||||
|
|
Loading…
Reference in a new issue