Skip to content

Commit 80f8670

Browse files
Fix 'return statement is missing'
1 parent 7fd8f05 commit 80f8670

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Games/brain-calc.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,6 @@ function calc(int $operand1, int $operand2, string $operation): string
4444
case '*':
4545
return (string) ($operand1 * $operand2);
4646
}
47+
48+
return '';
4749
}

0 commit comments

Comments
 (0)