From 0750c698b28891f4bb2feec502e8fc48a72860a1 Mon Sep 17 00:00:00 2001 From: Simon Podlipsky Date: Fri, 3 May 2024 22:41:33 +0200 Subject: [PATCH] Update src/Psl/Iter/last_opt.php Co-authored-by: Saif Eddin Gmati <29315886+azjezz@users.noreply.github.com> --- src/Psl/Iter/last_opt.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Psl/Iter/last_opt.php b/src/Psl/Iter/last_opt.php index cb3061ef..365c5368 100644 --- a/src/Psl/Iter/last_opt.php +++ b/src/Psl/Iter/last_opt.php @@ -16,7 +16,7 @@ * * @return Option */ -function last_opt(iterable $iterable) +function last_opt(iterable $iterable): Option { $last = Option::none(); foreach ($iterable as $v) {