We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82956d3 commit 54c0706Copy full SHA for 54c0706
src/Fp/Collections/SeqTerminalOps.php
@@ -301,7 +301,7 @@ public function max(): Option;
301
*
302
* ```php
303
* >>> LinkedList::collect([new Foo(1), new Bar(6), new Foo(2)])->maxBy(fn(Foo $foo) => $foo->a)->get();
304
- * => 6
+ * => Bar(6)
305
* ```
306
307
* @psalm-param callable(TV): mixed $callback
@@ -326,7 +326,7 @@ public function min(): Option;
326
327
328
* >>> LinkedList::collect([new Foo(1), new Bar(6), new Foo(2)])->minBy(fn(Foo $foo) => $foo->a)->get();
329
- * => 1
+ * => Foo(1)
330
331
332
0 commit comments