From ea50bcde8dfc6938a2125a903e87317629e5ac01 Mon Sep 17 00:00:00 2001 From: lubiana Date: Tue, 26 Sep 2023 18:02:47 +0200 Subject: [PATCH] update callable docblock in arrayFilter Signed-off-by: lubiana --- .gitignore | 1 + src/Infrastructure/functions.php | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 7c2bdf2..e188da3 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ *.log /var/routesCache /var/listenerCache +/.phpactor.json diff --git a/src/Infrastructure/functions.php b/src/Infrastructure/functions.php index 46b4dd7..ea2e694 100644 --- a/src/Infrastructure/functions.php +++ b/src/Infrastructure/functions.php @@ -8,6 +8,7 @@ use function array_values; /** * @template T * @param array $input + * @param callable(mixed, mixed=):scalar $callable * @return array */ function arrayFilter(