From 05c307a1d0d5a25ef08c09deb9a3adca35fcce81 Mon Sep 17 00:00:00 2001 From: mscherer Date: Mon, 25 Jul 2022 14:52:28 +0200 Subject: [PATCH] Fix CS --- src/Controller/Component/CaptchaComponent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/Component/CaptchaComponent.php b/src/Controller/Component/CaptchaComponent.php index f22f689..16e217d 100644 --- a/src/Controller/Component/CaptchaComponent.php +++ b/src/Controller/Component/CaptchaComponent.php @@ -69,7 +69,7 @@ public function beforeRender(EventInterface $event): void { return; } - if (\method_exists($this->getController()->viewBuilder(), 'addHelpers')) { + if (method_exists($this->getController()->viewBuilder(), 'addHelpers')) { $this->getController()->viewBuilder()->addHelpers(['Captcha.Captcha']); } else { $this->getController()->viewBuilder()->setHelpers(['Captcha.Captcha']);