Skip to content

Commit

Permalink
Update Turnstile.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ConsoleTVs authored Dec 9, 2023
1 parent c5ff48b commit 983dff3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Turnstile.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,10 @@ protected function onResponse(Response $response): void
*/
public function check(?string $value): bool
{
if ($value === null)
{
if ($value === null) {
return false;
}

$response = $this->request($value);

$this->onResponse($response);
Expand Down

0 comments on commit 983dff3

Please sign in to comment.