Skip to content

Commit b9500f7

Browse files
committed
fix doc block
1 parent 10beec1 commit b9500f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Fp/Collections/SeqTerminalOps.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ public function mkString(string $start = '', string $sep = ',', string $end = ''
290290
* ```php
291291
* >>> LinkedList::collect([1, 4, 2])->max()->get();
292292
* => 4
293+
* ```
293294
*
294295
* @psalm-return Option<TV>
295296
*/
@@ -301,6 +302,7 @@ public function max(): Option;
301302
* ```php
302303
* >>> LinkedList::collect([new Foo(1), new Bar(6), new Foo(2)])->maxBy(fn(Foo $foo) => $foo->a)->get();
303304
* => 6
305+
* ```
304306
*
305307
* @psalm-param callable(TV): mixed $callback
306308
* @psalm-return Option<TV>

0 commit comments

Comments
 (0)