@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | */ |
| 25 | 25 | public function __construct(string $api_site_key, string $api_secret_key) { |
| 26 | 26 | |
| 27 | - parent::__construct($api_site_key, $api_secret_key, 'v2',config('recaptcha.language')); |
|
| 27 | + parent::__construct($api_site_key, $api_secret_key, 'v2', config('recaptcha.language')); |
|
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | /** |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | */ |
| 35 | 35 | public function htmlFormSnippet(): string { |
| 36 | 36 | |
| 37 | - return ($this->version == 'v2') ? '<div class="g-recaptcha" data-sitekey="' . $this->api_site_key . '"></div>' : ''; |
|
| 37 | + return ($this->version == 'v2') ? '<div class="g-recaptcha" data-sitekey="'.$this->api_site_key.'"></div>' : ''; |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | } |
| 41 | 41 | \ No newline at end of file |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | */ |
| 25 | 25 | public function __construct(string $api_site_key, string $api_secret_key) { |
| 26 | 26 | |
| 27 | - parent::__construct($api_site_key, $api_secret_key, 'v3',config('recaptcha.language')); |
|
| 27 | + parent::__construct($api_site_key, $api_secret_key, 'v3', config('recaptcha.language')); |
|
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | } |
| 31 | 31 | \ No newline at end of file |
@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | */ |
| 25 | 25 | public function __construct(string $api_site_key, string $api_secret_key) { |
| 26 | 26 | |
| 27 | - parent::__construct($api_site_key, $api_secret_key, 'invisible',config('recaptcha.language')); |
|
| 27 | + parent::__construct($api_site_key, $api_secret_key, 'invisible', config('recaptcha.language')); |
|
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | /** |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | */ |
| 38 | 38 | public function htmlFormButton($buttonInnerHTML = 'Submit'): string { |
| 39 | 39 | |
| 40 | - return ($this->version == 'invisible') ? '<button class="g-recaptcha" data-sitekey="' . $this->api_site_key . '" data-callback="biscolabLaravelReCaptcha">' . $buttonInnerHTML . '</button>' : ''; |
|
| 40 | + return ($this->version == 'invisible') ? '<button class="g-recaptcha" data-sitekey="'.$this->api_site_key.'" data-callback="biscolabLaravelReCaptcha">'.$buttonInnerHTML.'</button>' : ''; |
|
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | } |
| 44 | 44 | \ No newline at end of file |