Skip to content

Commit

Permalink
Add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
loevgaard committed Dec 4, 2024
1 parent 3a89649 commit 82ad9ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/DataTransferObject/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ public function filter(callable $callback): self
}

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

0 comments on commit 82ad9ad

Please sign in to comment.