diff --git a/code/MathSpamProtector.php b/code/MathSpamProtector.php index 365333c..5e2d5f5 100644 --- a/code/MathSpamProtector.php +++ b/code/MathSpamProtector.php @@ -22,4 +22,7 @@ class MathSpamProtector implements SpamProtector public function setFieldMapping($fieldMapping) { } + + public function __construct($options = array()) { + } } diff --git a/composer.json b/composer.json index 53951c3..7aba73f 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ }], "minimum-stability": "dev", "require": { - "silverstripe/spamprotection": "dev-master" + "silverstripe/spamprotection": "~2.0" }, "license": "BSD-3-Clause" }