diff --git a/src/GoogleReCaptchaV3.php b/src/GoogleReCaptchaV3.php index beb58ed..51d13c9 100644 --- a/src/GoogleReCaptchaV3.php +++ b/src/GoogleReCaptchaV3.php @@ -75,12 +75,12 @@ public function prepareBackgroundViewData() */ public function init() { - if (!$this->getConfig()->isServiceEnabled()) { + if (! $this->getConfig()->isServiceEnabled()) { return; } $default = [ 'hasAction' => self::$hasAction, - 'backgroundMode' => $this->getConfig()->shouldEnableBackgroundMode() + 'backgroundMode' => $this->getConfig()->shouldEnableBackgroundMode(), ]; return app('view')->make($this->getView(), array_merge($this->prepareData(), $default)); @@ -107,7 +107,6 @@ public function render($mappers) } } - /** * @return mixed|string */ diff --git a/src/Interfaces/ReCaptchaConfigV3Interface.php b/src/Interfaces/ReCaptchaConfigV3Interface.php index f9dcf3c..253f364 100644 --- a/src/Interfaces/ReCaptchaConfigV3Interface.php +++ b/src/Interfaces/ReCaptchaConfigV3Interface.php @@ -75,7 +75,6 @@ public function getSkipIps(); */ public function getBackgroundBadgeDisplay(); - /** * @return bool */ diff --git a/tests/ViewTest.php b/tests/ViewTest.php index c2a9aa1..84d767e 100644 --- a/tests/ViewTest.php +++ b/tests/ViewTest.php @@ -48,7 +48,6 @@ public function testView1() $this->assertEquals(null, $service::$collection); } - public function testView2() { // Create a stub for the SomeClass class.