Skip to content

Commit f057854

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 70c2b01 + b4e1ba3 commit f057854

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
[![Build][ico-build]][link-build]
1414
[![StyleCI][ico-styleci]][link-styleci]
1515

16-
### Update: Vue component is production ready. Please upgrade package version : ~2.2.0
16+
### Update: Vue component is production ready. Please upgrade package version : ~2.2.6
1717

1818
I guarantee that bugs, issues, features and changes will be responded in 48 hours.
1919

@@ -92,7 +92,7 @@ This package requires the following dependencies:
9292
Via Composer
9393

9494
``` sh
95-
$ composer require timehunter/laravel-google-recaptcha-v3 "~2.2.5" -vvv
95+
$ composer require timehunter/laravel-google-recaptcha-v3 "~2.2.6" -vvv
9696
```
9797

9898
If your Laravel framework version <= 5.4, please register the service provider under your config file: /config/app.php, otherwise please skip it.

src/GoogleReCaptchaV3.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function prepareBackgroundData()
6262
*/
6363
public function background()
6464
{
65-
if(self::$hasAction){
65+
if (self::$hasAction) {
6666
return;
6767
}
6868

@@ -90,7 +90,6 @@ public function render($mappers = [])
9090
);
9191
}
9292

93-
9493
/**
9594
* @return mixed|string
9695
*/

tests/ViewTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ public function testView2()
5858
$this->assertEquals('en', $data['language']);
5959
}
6060

61-
6261
public function testView3()
6362
{
6463
// Create a stub for the SomeClass class.
@@ -85,7 +84,6 @@ public function testView3()
8584
$service->prepareViewData(['contact_us_id' => 'contact_us']);
8685
$background = $service->background();
8786
$this->assertEquals('', $background);
88-
8987
}
9088

9189

0 commit comments

Comments
 (0)