diff --git a/src/GoogleReCaptchaV3.php b/src/GoogleReCaptchaV3.php index 349d472..16102ce 100644 --- a/src/GoogleReCaptchaV3.php +++ b/src/GoogleReCaptchaV3.php @@ -62,7 +62,7 @@ public function prepareBackgroundData() */ public function background() { - if(self::$hasAction){ + if (self::$hasAction) { return; } @@ -90,7 +90,6 @@ public function render($mappers = []) ); } - /** * @return mixed|string */ diff --git a/tests/ViewTest.php b/tests/ViewTest.php index ba073d1..ecb751f 100644 --- a/tests/ViewTest.php +++ b/tests/ViewTest.php @@ -58,7 +58,6 @@ public function testView2() $this->assertEquals('en', $data['language']); } - public function testView3() { // Create a stub for the SomeClass class. @@ -85,6 +84,5 @@ public function testView3() $service->prepareViewData(['contact_us_id' => 'contact_us']); $background = $service->background(); $this->assertEquals('', $background); - } }