Skip to content

Commit

Permalink
getRecaptchaClient refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
juban committed Apr 21, 2021
1 parent eec641e commit 19b7256
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/services/Recaptcha.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,10 @@ public function verify()
*/
public function getRecaptchaClient(): Client
{
$client = new Client([
return new Client([
'base_uri' => 'https://www.google.com/recaptcha/api/',
'timeout' => 5,
'connect_timeout' => 5,
]);
return $client;
}
}

0 comments on commit 19b7256

Please sign in to comment.