From 3b76a9b77257d33f595e0a303c682661251c6686 Mon Sep 17 00:00:00 2001 From: Simon Podlipsky Date: Sat, 27 Apr 2024 22:45:59 +0200 Subject: [PATCH] Update src/Psl/Iter/last_key_opt.php Co-authored-by: Saif Eddin Gmati <29315886+azjezz@users.noreply.github.com> --- src/Psl/Iter/last_key_opt.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Psl/Iter/last_key_opt.php b/src/Psl/Iter/last_key_opt.php index 25551ad8..4e32faa8 100644 --- a/src/Psl/Iter/last_key_opt.php +++ b/src/Psl/Iter/last_key_opt.php @@ -17,7 +17,7 @@ * * @return Option */ -function last_key_opt(iterable $iterable) +function last_key_opt(iterable $iterable): Option { $last = Option::none(); foreach ($iterable as $k => $_) {