Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.

Commit 21cc0f5

Browse files
committed
Merge branch 'develop' into release/v3
* develop: code style optimization
2 parents 5d34f60 + bafd090 commit 21cc0f5

12 files changed

+554
-542
lines changed

config/recaptcha.php

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -13,52 +13,52 @@
1313
*/
1414
return [
1515

16-
/**
17-
*
18-
* The site key
19-
* get site key @ www.google.com/recaptcha/admin
20-
*
21-
*/
22-
'api_site_key' => env('RECAPTCHA_SITE_KEY', ''),
16+
/**
17+
*
18+
* The site key
19+
* get site key @ www.google.com/recaptcha/admin
20+
*
21+
*/
22+
'api_site_key' => env('RECAPTCHA_SITE_KEY', ''),
2323

24-
/**
25-
*
26-
* The secret key
27-
* get secret key @ www.google.com/recaptcha/admin
28-
*
29-
*/
30-
'api_secret_key' => env('RECAPTCHA_SECRET_KEY', ''),
24+
/**
25+
*
26+
* The secret key
27+
* get secret key @ www.google.com/recaptcha/admin
28+
*
29+
*/
30+
'api_secret_key' => env('RECAPTCHA_SECRET_KEY', ''),
3131

32-
/**
33-
*
34-
* ReCATCHA version
35-
* Supported: "v2", "invisible", "v3",
36-
*
37-
* get more info @ https://developers.google.com/recaptcha/docs/versions
38-
*
39-
*/
40-
'version' => env('RECAPTCHA_DEFAULT_VERSION', 'v2'),
32+
/**
33+
*
34+
* ReCATCHA version
35+
* Supported: "v2", "invisible", "v3",
36+
*
37+
* get more info @ https://developers.google.com/recaptcha/docs/versions
38+
*
39+
*/
40+
'version' => env('RECAPTCHA_DEFAULT_VERSION', 'v2'),
4141

42-
/**
43-
*
44-
* IP addresses for which validation will be skipped
45-
*
46-
*/
47-
'skip_ip' => [],
42+
/**
43+
*
44+
* IP addresses for which validation will be skipped
45+
*
46+
*/
47+
'skip_ip' => [],
4848

49-
/**
50-
*
51-
* Default route called to check the Google reCAPTCHA token
52-
* @since v3.2.0
53-
*
54-
*/
55-
'default_validation_route' => env('RECAPTCHA_DEFAULT_VALIDATION_ROUTE', 'biscolab-recaptcha/validate'),
49+
/**
50+
*
51+
* Default route called to check the Google reCAPTCHA token
52+
* @since v3.2.0
53+
*
54+
*/
55+
'default_validation_route' => env('RECAPTCHA_DEFAULT_VALIDATION_ROUTE', 'biscolab-recaptcha/validate'),
5656

57-
/**
58-
*
59-
* The name of the parameter used to send Google reCAPTCHA token to verify route
60-
* @since v3.2.0
61-
*
62-
*/
63-
'default_token_parameter_name' => env('RECAPTCHA_DEFAULT_TOKEN_PARAMETER_NAME', 'token')
57+
/**
58+
*
59+
* The name of the parameter used to send Google reCAPTCHA token to verify route
60+
* @since v3.2.0
61+
*
62+
*/
63+
'default_token_parameter_name' => env('RECAPTCHA_DEFAULT_TOKEN_PARAMETER_NAME', 'token')
6464
];

src/Facades/ReCaptcha.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
*/
1919
class ReCaptcha extends Facade {
2020

21-
/**
22-
* Get the registered name of the component.
23-
*
24-
* @return string
25-
*/
26-
protected static function getFacadeAccessor() {
21+
/**
22+
* Get the registered name of the component.
23+
*
24+
* @return string
25+
*/
26+
protected static function getFacadeAccessor() {
2727

28-
return 'recaptcha';
29-
}
28+
return 'recaptcha';
29+
}
3030
}

0 commit comments

Comments
 (0)