Skip to content

Commit e863303

Browse files
committed
Merge remote-tracking branch 'origin/master'
# Conflicts: # src/GoogleReCaptchaV3.php
2 parents 8ddf282 + 46d9ad6 commit e863303

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,11 @@ Future improvement (Will be done in 1-2 days, everything will still be compatibl
3232
1. [Installation](#installation)
3333
2. [Configurations](#settings)
3434
3. [Facade Usage](#facade-usage)
35-
4. [Badge Display](#badge-display)
36-
5. [Blade Usage](#blade-basic-usage)
37-
6. [Vue Usage](#vue-usage)
38-
7. [Validation](#validation-class)
39-
8. [Advanced Usage](#advanced-usage)
40-
9. [Contributors](#contributors)
35+
4. [Blade Usage](#blade-basic-usage)
36+
5. [Vue Usage](#vue-usage)
37+
6. [Validation](#validation-class)
38+
7. [Advanced Usage](#advanced-usage)
39+
8. [Contributors](#contributors)
4140

4241
# DEMO
4342

@@ -245,7 +244,7 @@ You can also set the background reCAPTCHA as hidden or visible(bottomright):
245244

246245
``` php
247246
...
248-
'background_badge_display' => true,
247+
'background_badge_display' => true, // if false, the badge will be invisible.
249248
...
250249
```
251250

src/GoogleReCaptchaV3.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function prepareBackgroundData()
5353
{
5454
return [
5555
'publicKey' => $this->getConfig()->getSiteKey(),
56-
'display' => $this->getConfig()->getBackgroundBadgeDisplay()
56+
'display' => $this->getConfig()->getBackgroundBadgeDisplay(),
5757
];
5858
}
5959

@@ -79,7 +79,7 @@ public function background()
7979
*/
8080
public function render($mappers = [])
8181
{
82-
if (!$this->getConfig()->isServiceEnabled()) {
82+
if (! $this->getConfig()->isServiceEnabled()) {
8383
return;
8484
}
8585

0 commit comments

Comments
 (0)