diff --git a/src/Services/GoogleReCaptchaV3Service.php b/src/Services/GoogleReCaptchaV3Service.php index 203aae0..1e1f168 100644 --- a/src/Services/GoogleReCaptchaV3Service.php +++ b/src/Services/GoogleReCaptchaV3Service.php @@ -44,7 +44,7 @@ public function ifInSkippedIps($ip) */ public function verifyResponse($response, $ip = null) { - if (!$this->config->isServiceEnabled() || ($ip && $this->ifInSkippedIps($ip)) === true) { + if (! $this->config->isServiceEnabled() || ($ip && $this->ifInSkippedIps($ip)) === true) { $res = new GoogleReCaptchaV3Response([], $ip); $res->setSuccess(true); @@ -85,7 +85,7 @@ public function verifyResponse($response, $ip = null) return $rawResponse; } - if (!empty($this->config->getHostName()) && strcasecmp($this->config->getHostName(), $rawResponse->getHostname()) !== 0) { + if (! empty($this->config->getHostName()) && strcasecmp($this->config->getHostName(), $rawResponse->getHostname()) !== 0) { $rawResponse->setMessage(Lang::get(GoogleReCaptchaV3Response::ERROR_HOSTNAME)); $rawResponse->setSuccess(false);