Skip to content

Commit 54c0706

Browse files
author
decole
committed
fix doc
1 parent 82956d3 commit 54c0706

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Fp/Collections/SeqTerminalOps.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ public function max(): Option;
301301
*
302302
* ```php
303303
* >>> LinkedList::collect([new Foo(1), new Bar(6), new Foo(2)])->maxBy(fn(Foo $foo) => $foo->a)->get();
304-
* => 6
304+
* => Bar(6)
305305
* ```
306306
*
307307
* @psalm-param callable(TV): mixed $callback
@@ -326,7 +326,7 @@ public function min(): Option;
326326
*
327327
* ```php
328328
* >>> LinkedList::collect([new Foo(1), new Bar(6), new Foo(2)])->minBy(fn(Foo $foo) => $foo->a)->get();
329-
* => 1
329+
* => Foo(1)
330330
* ```
331331
*
332332
* @psalm-param callable(TV): mixed $callback

0 commit comments

Comments
 (0)