Skip to content

Commit 82ad9ad

Browse files
committed
Add todo
1 parent 3a89649 commit 82ad9ad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/DataTransferObject/Collection.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ public function filter(callable $callback): self
5151
}
5252

5353
/**
54+
* TODO Make this more type safe when this issue is resolved: https://github.com/vimeo/psalm/issues/11179
55+
*
5456
* @param callable(T):numeric $callback
5557
*/
5658
public function sum(callable $callback): int|float

0 commit comments

Comments
 (0)