Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Jul 25, 2022
1 parent ce2e269 commit 05c307a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/Component/CaptchaComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand Down

0 comments on commit 05c307a

Please sign in to comment.