File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
ReCaptchaCheckoutSalesRule Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1616use Magento \ReCaptchaUi \Model \RequestHandlerInterface ;
1717
1818/**
19- * Adds Captcha support for share wishlist
19+ * Add ReCaptcha support for Coupon Code
2020 */
2121class CouponCodeObserver implements ObserverInterface
2222{
Original file line number Diff line number Diff line change 99use Magento \ReCaptchaUi \Block \ReCaptcha ;
1010
1111/**
12- * Reset attempts for frontend checkout
12+ * Plugin for adding recaptcha in coupon form
1313 */
1414class CouponSetLayoutPlugin
1515{
1616 /**
17- * Add Child captcha afterLayout in Coupon form
17+ * Add Child ReCaptcha in Coupon form
1818 *
1919 * @param Coupon $subject
20+ * @return Coupon
21+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
2022 */
2123 public function afterSetLayout (Coupon $ subject ): Coupon
2224 {
You can’t perform that action at this time.
0 commit comments