replace @use annotation by @see (#155)

This commit is contained in:
Anatoly Pashin 2021-03-25 17:23:52 +10:00 committed by GitHub
parent 9b1a24ebfb
commit 903aab0360
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -49,7 +49,7 @@
- [slice](./../../src/Psl/Arr/slice.php#L35) ( deprecated )
- [sort](./../../src/Psl/Arr/sort.php#L24) ( deprecated )
- [sort_by](./../../src/Psl/Arr/sort_by.php#L27) ( deprecated )
- [sort_by_key](./../../src/Psl/Arr/sort_by_key.php#L26) ( deprecated )
- [sort_by_key](./../../src/Psl/Arr/sort_by_key.php#L25) ( deprecated )
- [sort_with_keys](./../../src/Psl/Arr/sort_with_keys.php#L25) ( deprecated )
- [sort_with_keys_by](./../../src/Psl/Arr/sort_with_keys_by.php#L29) ( deprecated )
- [take](./../../src/Psl/Arr/take.php#L25) ( deprecated )

View File

@ -20,8 +20,7 @@ use Psl\Dict;
* @return array<Tk, Tv>
*
* @deprecated use `Dict\sort_by_key`
*
* @use Dict\sort_by_key
* @see Dict\sort_by_key
*/
function sort_by_key(array $array, ?callable $comparator = null): array
{