Skip to content

Commit 392f3a5

Browse files
authored
Add constructor template in LargestSeriesProduct.php (#576)
1 parent d3a686c commit 392f3a5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

exercises/practice/largest-series-product/LargestSeriesProduct.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@
2626

2727
class Series
2828
{
29+
public function __construct(string $input)
30+
{
31+
throw new \BadMethodCallException("Implement the constructor method");
32+
}
33+
2934
public function largestProduct(int $span): int
3035
{
3136
throw new \BadMethodCallException("Implement the largestProduct method");

0 commit comments

Comments
 (0)