Skip to content

Commit 6f1b313

Browse files
#222: Static tests fix.
1 parent 5451642 commit 6f1b313

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ReCaptchaPaypal/Observer/PayPalObserver.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@
2525
use Psr\Log\LoggerInterface;
2626

2727
/**
28-
* AjaxLoginObserver
28+
* reCaptcha support for PayPal Payflow Pro Integration.
29+
*
30+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2931
*/
3032
class PayPalObserver implements ObserverInterface
3133
{

ReCaptchaUser/Observer/LoginObserver.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ public function execute(Observer $observer): void
126126
} catch (InputException $e) {
127127
$this->logger->error($e);
128128
$this->processError([], $key);
129+
130+
return;
129131
}
130132

131133
$validationResult = $this->captchaValidator->isValid($reCaptchaResponse, $validationConfig);

0 commit comments

Comments
 (0)