Merge pull request #8321 from ravage84/patch-2

Replace Set by Hash
This commit is contained in:
Mark Story 2016-02-23 12:42:49 -05:00
commit fc714a6451

View file

@ -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