We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e7f05a commit f50fe41Copy full SHA for f50fe41
exercises/unite-the-types/solution/solution.php
@@ -1,6 +1,6 @@
1
<?php
2
3
-function adder(string|float|int ...$numbers)
+function adder(string|float|int ...$numbers): float
4
{
5
return array_sum($numbers);
6
}
0 commit comments