> */ protected static function getCaptchaValidationRules(): array { return [ ['captcha', CaptchaValidator::class], ['captchaType', 'safe'], ]; } }