@@ -34,7 +34,7 @@ public function __construct(array $items = [], ?string $discrim = 'id', ?string
34
34
* @param ?string $discrim
35
35
* @param ?string $class
36
36
*
37
- * @return CollectionInterface
37
+ * @return ExCollectionInterface
38
38
*/
39
39
public static function from (array $ items = [], ?string $ discrim = 'id ' , ?string $ class = null )
40
40
{
@@ -47,7 +47,7 @@ public static function from(array $items = [], ?string $discrim = 'id', ?string
47
47
* @param string $class
48
48
* @param ?string $discrim
49
49
*
50
- * @return CollectionInterface
50
+ * @return ExCollectionInterface
51
51
*/
52
52
public static function for (string $ class , ?string $ discrim = 'id ' )
53
53
{
@@ -289,7 +289,7 @@ public function search(mixed $needle, bool $strict = false): string|int|false
289
289
*
290
290
* @param callable $callback
291
291
*
292
- * @return CollectionInterface
292
+ * @return ExCollectionInterface
293
293
*
294
294
* @todo This method will be typed to return a CollectionInterface in v11
295
295
*/
@@ -523,7 +523,7 @@ public function reduce(callable $callback, $initial = null)
523
523
*
524
524
* @param callable $callback
525
525
*
526
- * @return CollectionInterface
526
+ * @return ExCollectionInterface
527
527
*/
528
528
public function map (callable $ callback )
529
529
{
@@ -538,7 +538,7 @@ public function map(callable $callback)
538
538
*
539
539
* @param int $flags
540
540
*
541
- * @return CollectionInterface
541
+ * @return ExCollectionInterface
542
542
*/
543
543
public function unique (int $ flags = SORT_STRING )
544
544
{
@@ -575,7 +575,7 @@ public function toArray()
575
575
/**
576
576
* Converts the items into a new collection.
577
577
*
578
- * @return CollectionInterface
578
+ * @return ExCollectionInterface
579
579
*/
580
580
public function collect ()
581
581
{
0 commit comments