From 82ad9ada9457ea4ff72da3918043f21663bae2e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20L=C3=B8vgaard?= Date: Wed, 4 Dec 2024 14:35:38 +0100 Subject: [PATCH] Add todo --- src/DataTransferObject/Collection.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/DataTransferObject/Collection.php b/src/DataTransferObject/Collection.php index cb5bfbb..213d409 100644 --- a/src/DataTransferObject/Collection.php +++ b/src/DataTransferObject/Collection.php @@ -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