From 012037ae19a9c026036a1e4e3c5d037ea45f78c2 Mon Sep 17 00:00:00 2001 From: RyanDaDeng Date: Sat, 26 Jan 2019 04:01:30 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/GoogleReCaptchaV3.php | 3 +-- tests/ViewTest.php | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) 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); - } }