Skip to content

Commit

Permalink
Update src/Psl/Iter/last_key_opt.php
Browse files Browse the repository at this point in the history
Co-authored-by: Saif Eddin Gmati <29315886+azjezz@users.noreply.github.com>
  • Loading branch information
simPod and azjezz authored Apr 27, 2024
1 parent bf0207b commit 3b76a9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Psl/Iter/last_key_opt.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* @return Option<Tk>
*/
function last_key_opt(iterable $iterable)
function last_key_opt(iterable $iterable): Option
{
$last = Option::none();
foreach ($iterable as $k => $_) {
Expand Down

0 comments on commit 3b76a9b

Please sign in to comment.