Skip to content

Commit

Permalink
Update src/Psl/Iter/last_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 May 3, 2024
1 parent 1c7a3b4 commit 0750c69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Psl/Iter/last_opt.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* @return Option<Tv>
*/
function last_opt(iterable $iterable)
function last_opt(iterable $iterable): Option
{
$last = Option::none();
foreach ($iterable as $v) {
Expand Down

0 comments on commit 0750c69

Please sign in to comment.