Skip to content

Commit

Permalink
Correct docblock.
Browse files Browse the repository at this point in the history
SORT_NATURAL fallback for PHP < 5.4 has been removed in 3.0
  • Loading branch information
majna committed Mar 26, 2015
1 parent 8708599 commit 4c15a27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utility/Hash.php
Expand Up @@ -875,7 +875,7 @@ public static function apply(array $data, $path, $function)
* - `numeric` Compare values numerically
* - `string` Compare values as strings
* - `natural` Compare items as strings using "natural ordering" in a human friendly way.
* Will sort foo10 below foo2 as an example. Requires PHP 5.4 or greater or it will fallback to 'regular'
* Will sort foo10 below foo2 as an example.
*
* @param array $data An array of data to sort
* @param string $path A Set-compatible path to the array value
Expand Down

0 comments on commit 4c15a27

Please sign in to comment.