Skip to content

Commit f50fe41

Browse files
committed
Add return hint
1 parent 7e7f05a commit f50fe41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/unite-the-types/solution/solution.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
function adder(string|float|int ...$numbers)
3+
function adder(string|float|int ...$numbers): float
44
{
55
return array_sum($numbers);
66
}

0 commit comments

Comments
 (0)