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 b2a1b94 commit f1aa5bfCopy full SHA for f1aa5bf
1 file changed
exercises/practice/darts/Darts.php
@@ -26,5 +26,5 @@
26
27
function score(float $xAxis, float $yAxis): int
28
{
29
- throw new \BadFunctionCallException("Please implement the __FUNCTION__ function!");
+ throw new \BadMethodCallException(sprintf('Implement the %s method', __FUNCTION__));
30
}
0 commit comments