Skip to content

Commit 8738931

Browse files
committed
Fixed *sorted() return value in documentation
1 parent 7d4668a commit 8738931

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ public function arsorted( int $options = SORT_REGULAR ) : self
841841
```
842842

843843
* @param **int** `$options` Sort options for `arsort()`
844-
* @return **self<int|string,mixed>** Updated map for fluid interface
844+
* @return **self<int|string,mixed>** New map
845845

846846
The keys are preserved using this method and a new map is created.
847847

@@ -925,7 +925,7 @@ public function asorted( int $options = SORT_REGULAR ) : self
925925
```
926926

927927
* @param **int** `$options` Sort options for `asort()`
928-
* @return **self<int|string,mixed>** Updated map for fluid interface
928+
* @return **self<int|string,mixed>** New map
929929

930930
The keys are preserved using this method and a new map is created.
931931

@@ -3859,7 +3859,7 @@ public function krsorted( int $options = SORT_REGULAR ) : self
38593859
```
38603860

38613861
* @param **int** `$options` Sort options for `krsort()`
3862-
* @return **self<int|string,mixed>** Updated map for fluid interface
3862+
* @return **self<int|string,mixed>** New map
38633863

38643864
The parameter modifies how the keys are compared. Possible values are:
38653865
- SORT_REGULAR : compare elements normally (don't change types)
@@ -5107,7 +5107,7 @@ public function rsorted( int $options = SORT_REGULAR ) : self
51075107
```
51085108

51095109
* @param **int** `$options` Sort options for `rsort()`
5110-
* @return **self<int|string,mixed>** Updated map for fluid interface
5110+
* @return **self<int|string,mixed>** New map
51115111

51125112
The parameter modifies how the values are compared. Possible parameter values are:
51135113
- SORT_REGULAR : compare elements normally (don't change types)
@@ -5491,7 +5491,7 @@ public function sorted( int $options = SORT_REGULAR ) : self
54915491
```
54925492

54935493
* @param **int** `$options` Sort options for PHP `sort()`
5494-
* @return **self<int|string,mixed>** New map with a sorted copy of the elements
5494+
* @return **self<int|string,mixed>** New map
54955495

54965496
The parameter modifies how the values are compared. Possible parameter values are:
54975497
- SORT_REGULAR : compare elements normally (don't change types)
@@ -6833,7 +6833,7 @@ public function uksort( callable $callback ) : self
68336833
```
68346834

68356835
* @param **callable** `$callback` Function with (keyA, keyB) parameters and returns -1 (<), 0 (=) and 1 (>)
6836-
* @return **self&#60;int&#124;string,mixed&#62;** Updated map for fluid interface
6836+
* @return **self&#60;int&#124;string,mixed&#62;** New map
68376837

68386838
The given callback will be used to compare the keys. The callback must accept
68396839
two parameters (key A and B) and must return -1 if key A is smaller than
@@ -7052,7 +7052,7 @@ public function usorted( callable $callback ) : self
70527052
```
70537053

70547054
* @param **callable** `$callback` Function with (itemA, itemB) parameters and returns -1 (<), 0 (=) and 1 (>)
7055-
* @return **self&#60;int&#124;string,mixed&#62;** Updated map for fluid interface
7055+
* @return **self&#60;int&#124;string,mixed&#62;** New map
70567056

70577057
The given callback will be used to compare the values. The callback must accept
70587058
two parameters (item A and B) and must return -1 if item A is smaller than

0 commit comments

Comments
 (0)