From fcf8c4fd019dd8c42c74bffcc7f9976eb1ac2bba Mon Sep 17 00:00:00 2001 From: Daniel Platt Date: Tue, 2 Feb 2016 22:15:18 +0000 Subject: [PATCH] Update CaptchaType.php add getBlockPrefix for Symfony3 compatibility. --- Type/CaptchaType.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Type/CaptchaType.php b/Type/CaptchaType.php index 2fa0318..6f3ac51 100644 --- a/Type/CaptchaType.php +++ b/Type/CaptchaType.php @@ -151,6 +151,14 @@ class CaptchaType extends AbstractType * @return string */ public function getName() + { + return $this->getBlockPrefix(); + } + + /** + * @return string + */ + public function getBlockPrefix() { return 'captcha'; }