@@ -219,7 +219,7 @@ public function crossJoin(...$lists)
219
219
* Get the items in the collection that are not present in the given items.
220
220
*
221
221
* @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items
222
- * @return static<TKey, TValue>
222
+ * @return static
223
223
*/
224
224
public function diff ($ items )
225
225
{
@@ -231,7 +231,7 @@ public function diff($items)
231
231
*
232
232
* @param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items
233
233
* @param callable(TValue): int $callback
234
- * @return static<TKey, TValue>
234
+ * @return static
235
235
*/
236
236
public function diffUsing ($ items , callable $ callback )
237
237
{
@@ -242,7 +242,7 @@ public function diffUsing($items, callable $callback)
242
242
* Get the items in the collection whose keys and values are not present in the given items.
243
243
*
244
244
* @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items
245
- * @return static<TKey, TValue>
245
+ * @return static
246
246
*/
247
247
public function diffAssoc ($ items )
248
248
{
@@ -254,7 +254,7 @@ public function diffAssoc($items)
254
254
*
255
255
* @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items
256
256
* @param callable(TKey): int $callback
257
- * @return static<TKey, TValue>
257
+ * @return static
258
258
*/
259
259
public function diffAssocUsing ($ items , callable $ callback )
260
260
{
@@ -265,7 +265,7 @@ public function diffAssocUsing($items, callable $callback)
265
265
* Get the items in the collection whose keys are not present in the given items.
266
266
*
267
267
* @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items
268
- * @return static<TKey, TValue>
268
+ * @return static
269
269
*/
270
270
public function diffKeys ($ items )
271
271
{
@@ -277,7 +277,7 @@ public function diffKeys($items)
277
277
*
278
278
* @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items
279
279
* @param callable(TKey): int $callback
280
- * @return static<TKey, TValue>
280
+ * @return static
281
281
*/
282
282
public function diffKeysUsing ($ items , callable $ callback )
283
283
{
@@ -289,7 +289,7 @@ public function diffKeysUsing($items, callable $callback)
289
289
*
290
290
* @param (callable(TValue): bool)|string|null $callback
291
291
* @param bool $strict
292
- * @return static<TKey, TValue>
292
+ * @return static
293
293
*/
294
294
public function duplicates ($ callback = null , $ strict = false )
295
295
{
@@ -316,7 +316,7 @@ public function duplicates($callback = null, $strict = false)
316
316
* Retrieve duplicate items from the collection using strict comparison.
317
317
*
318
318
* @param (callable(TValue): bool)|string|null $callback
319
- * @return static<TKey, TValue>
319
+ * @return static
320
320
*/
321
321
public function duplicatesStrict ($ callback = null )
322
322
{
@@ -346,7 +346,7 @@ protected function duplicateComparator($strict)
346
346
* Get all items except for those with the specified keys.
347
347
*
348
348
* @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey> $keys
349
- * @return static<TKey, TValue>
349
+ * @return static
350
350
*/
351
351
public function except ($ keys )
352
352
{
@@ -363,7 +363,7 @@ public function except($keys)
363
363
* Run a filter over each of the items.
364
364
*
365
365
* @param (callable(TValue): bool)|null $callback
366
- * @return static<TKey, TValue>
366
+ * @return static
367
367
*/
368
368
public function filter (callable $ callback = null )
369
369
{
@@ -577,7 +577,7 @@ public function implode($value, $glue = null)
577
577
* Intersect the collection with the given items.
578
578
*
579
579
* @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items
580
- * @return static<TKey, TValue>
580
+ * @return static
581
581
*/
582
582
public function intersect ($ items )
583
583
{
@@ -588,7 +588,7 @@ public function intersect($items)
588
588
* Intersect the collection with the given items by key.
589
589
*
590
590
* @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items
591
- * @return static<TKey, TValue>
591
+ * @return static
592
592
*/
593
593
public function intersectByKeys ($ items )
594
594
{
@@ -762,7 +762,7 @@ public function mapWithKeys(callable $callback)
762
762
* Merge the collection with the given items.
763
763
*
764
764
* @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items
765
- * @return static<TKey, TValue>
765
+ * @return static
766
766
*/
767
767
public function merge ($ items )
768
768
{
@@ -797,7 +797,7 @@ public function combine($values)
797
797
* Union the collection with the given items.
798
798
*
799
799
* @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items
800
- * @return static<TKey, TValue>
800
+ * @return static
801
801
*/
802
802
public function union ($ items )
803
803
{
@@ -809,7 +809,7 @@ public function union($items)
809
809
*
810
810
* @param int $step
811
811
* @param int $offset
812
- * @return static<TKey, TValue>
812
+ * @return static
813
813
*/
814
814
public function nth ($ step , $ offset = 0 )
815
815
{
@@ -832,7 +832,7 @@ public function nth($step, $offset = 0)
832
832
* Get the items with the specified keys.
833
833
*
834
834
* @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey> $keys
835
- * @return static<TKey, TValue>
835
+ * @return static
836
836
*/
837
837
public function only ($ keys )
838
838
{
@@ -893,7 +893,7 @@ public function prepend($value, $key = null)
893
893
/**
894
894
* Push one or more items onto the end of the collection.
895
895
*
896
- * @param ... TValue $values
896
+ * @param TValue ... $values
897
897
* @return $this
898
898
*/
899
899
public function push (...$ values )
@@ -909,7 +909,7 @@ public function push(...$values)
909
909
* Push all of the given items onto the collection.
910
910
*
911
911
* @param iterable<array-key, TValue> $source
912
- * @return static<TKey, TValue>
912
+ * @return static
913
913
*/
914
914
public function concat ($ source )
915
915
{
@@ -971,7 +971,7 @@ public function random($number = null)
971
971
* Replace the collection items with the given items.
972
972
*
973
973
* @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items
974
- * @return static<TKey, TValue>
974
+ * @return static
975
975
*/
976
976
public function replace ($ items )
977
977
{
@@ -982,7 +982,7 @@ public function replace($items)
982
982
* Recursively replace the collection items with the given items.
983
983
*
984
984
* @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items
985
- * @return static<TKey, TValue>
985
+ * @return static
986
986
*/
987
987
public function replaceRecursive ($ items )
988
988
{
@@ -992,7 +992,7 @@ public function replaceRecursive($items)
992
992
/**
993
993
* Reverse items order.
994
994
*
995
- * @return static<TKey, TValue>
995
+ * @return static
996
996
*/
997
997
public function reverse ()
998
998
{
@@ -1052,7 +1052,7 @@ public function shift($count = 1)
1052
1052
* Shuffle the items in the collection.
1053
1053
*
1054
1054
* @param int|null $seed
1055
- * @return static<TKey, TValue>
1055
+ * @return static
1056
1056
*/
1057
1057
public function shuffle ($ seed = null )
1058
1058
{
@@ -1064,7 +1064,7 @@ public function shuffle($seed = null)
1064
1064
*
1065
1065
* @param int $size
1066
1066
* @param int $step
1067
- * @return static<int, static<TKey, TValue> >
1067
+ * @return static<int, static>
1068
1068
*/
1069
1069
public function sliding ($ size = 2 , $ step = 1 )
1070
1070
{
@@ -1079,7 +1079,7 @@ public function sliding($size = 2, $step = 1)
1079
1079
* Skip the first {$count} items.
1080
1080
*
1081
1081
* @param int $count
1082
- * @return static<TKey, TValue>
1082
+ * @return static
1083
1083
*/
1084
1084
public function skip ($ count )
1085
1085
{
@@ -1090,7 +1090,7 @@ public function skip($count)
1090
1090
* Skip items in the collection until the given condition is met.
1091
1091
*
1092
1092
* @param TValue|callable(TValue,TKey): bool $value
1093
- * @return static<TKey, TValue>
1093
+ * @return static
1094
1094
*/
1095
1095
public function skipUntil ($ value )
1096
1096
{
@@ -1101,7 +1101,7 @@ public function skipUntil($value)
1101
1101
* Skip items in the collection while the given condition is met.
1102
1102
*
1103
1103
* @param TValue|callable(TValue,TKey): bool $value
1104
- * @return static<TKey, TValue>
1104
+ * @return static
1105
1105
*/
1106
1106
public function skipWhile ($ value )
1107
1107
{
@@ -1113,7 +1113,7 @@ public function skipWhile($value)
1113
1113
*
1114
1114
* @param int $offset
1115
1115
* @param int|null $length
1116
- * @return static<TKey, TValue>
1116
+ * @return static
1117
1117
*/
1118
1118
public function slice ($ offset , $ length = null )
1119
1119
{
@@ -1124,7 +1124,7 @@ public function slice($offset, $length = null)
1124
1124
* Split a collection into a certain number of groups.
1125
1125
*
1126
1126
* @param int $numberOfGroups
1127
- * @return static<int, static<TKey, TValue> >
1127
+ * @return static<int, static>
1128
1128
*/
1129
1129
public function split ($ numberOfGroups )
1130
1130
{
@@ -1161,7 +1161,7 @@ public function split($numberOfGroups)
1161
1161
* Split a collection into a certain number of groups, and fill the first groups completely.
1162
1162
*
1163
1163
* @param int $numberOfGroups
1164
- * @return static<int, static<TKey, TValue> >
1164
+ * @return static<int, static>
1165
1165
*/
1166
1166
public function splitIn ($ numberOfGroups )
1167
1167
{
@@ -1229,7 +1229,7 @@ public function firstOrFail($key = null, $operator = null, $value = null)
1229
1229
* Chunk the collection into chunks of the given size.
1230
1230
*
1231
1231
* @param int $size
1232
- * @return static<int, static<TKey, TValue> >
1232
+ * @return static<int, static>
1233
1233
*/
1234
1234
public function chunk ($ size )
1235
1235
{
@@ -1263,7 +1263,7 @@ public function chunkWhile(callable $callback)
1263
1263
* Sort through each item with a callback.
1264
1264
*
1265
1265
* @param (callable(TValue, TValue): bool)|null|int $callback
1266
- * @return static<TKey, TValue>
1266
+ * @return static
1267
1267
*/
1268
1268
public function sort ($ callback = null )
1269
1269
{
@@ -1280,7 +1280,7 @@ public function sort($callback = null)
1280
1280
* Sort items in descending order.
1281
1281
*
1282
1282
* @param int $options
1283
- * @return static<TKey, TValue>
1283
+ * @return static
1284
1284
*/
1285
1285
public function sortDesc ($ options = SORT_REGULAR )
1286
1286
{
@@ -1297,7 +1297,7 @@ public function sortDesc($options = SORT_REGULAR)
1297
1297
* @param (callable(TValue, TKey): mixed)|string $callback
1298
1298
* @param int $options
1299
1299
* @param bool $descending
1300
- * @return static<TKey, TValue>
1300
+ * @return static
1301
1301
*/
1302
1302
public function sortBy ($ callback , $ options = SORT_REGULAR , $ descending = false )
1303
1303
{
@@ -1378,7 +1378,7 @@ protected function sortByMany(array $comparisons = [])
1378
1378
*
1379
1379
* @param (callable(TValue, TKey): mixed)|string $callback
1380
1380
* @param int $options
1381
- * @return static<TKey, TValue>
1381
+ * @return static
1382
1382
*/
1383
1383
public function sortByDesc ($ callback , $ options = SORT_REGULAR )
1384
1384
{
@@ -1390,7 +1390,7 @@ public function sortByDesc($callback, $options = SORT_REGULAR)
1390
1390
*
1391
1391
* @param int $options
1392
1392
* @param bool $descending
1393
- * @return static<TKey, TValue>
1393
+ * @return static
1394
1394
*/
1395
1395
public function sortKeys ($ options = SORT_REGULAR , $ descending = false )
1396
1396
{
@@ -1405,7 +1405,7 @@ public function sortKeys($options = SORT_REGULAR, $descending = false)
1405
1405
* Sort the collection keys in descending order.
1406
1406
*
1407
1407
* @param int $options
1408
- * @return static<TKey, TValue>
1408
+ * @return static
1409
1409
*/
1410
1410
public function sortKeysDesc ($ options = SORT_REGULAR )
1411
1411
{
@@ -1418,7 +1418,7 @@ public function sortKeysDesc($options = SORT_REGULAR)
1418
1418
* @param int $offset
1419
1419
* @param int|null $length
1420
1420
* @param array<array-key, TValue> $replacement
1421
- * @return static<TKey, TValue>
1421
+ * @return static
1422
1422
*/
1423
1423
public function splice ($ offset , $ length = null , $ replacement = [])
1424
1424
{
@@ -1433,7 +1433,7 @@ public function splice($offset, $length = null, $replacement = [])
1433
1433
* Take the first or last {$limit} items.
1434
1434
*
1435
1435
* @param int $limit
1436
- * @return static<TKey, TValue>
1436
+ * @return static
1437
1437
*/
1438
1438
public function take ($ limit )
1439
1439
{
@@ -1448,7 +1448,7 @@ public function take($limit)
1448
1448
* Take items in the collection until the given condition is met.
1449
1449
*
1450
1450
* @param TValue|callable(TValue,TKey): bool $value
1451
- * @return static<TKey, TValue>
1451
+ * @return static
1452
1452
*/
1453
1453
public function takeUntil ($ value )
1454
1454
{
@@ -1459,7 +1459,7 @@ public function takeUntil($value)
1459
1459
* Take items in the collection while the given condition is met.
1460
1460
*
1461
1461
* @param TValue|callable(TValue,TKey): bool $value
1462
- * @return static<TKey, TValue>
1462
+ * @return static
1463
1463
*/
1464
1464
public function takeWhile ($ value )
1465
1465
{
@@ -1494,7 +1494,7 @@ public function undot()
1494
1494
*
1495
1495
* @param (callable(TValue, TKey): bool)|string|null $key
1496
1496
* @param bool $strict
1497
- * @return static<TKey, TValue>
1497
+ * @return static
1498
1498
*/
1499
1499
public function unique ($ key = null , $ strict = false )
1500
1500
{
0 commit comments