Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanDaDeng committed Jan 26, 2019
2 parents e7078ca + 369243c commit 94c670b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/GoogleReCaptchaV3.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand All @@ -107,7 +107,6 @@ public function render($mappers)
}
}


/**
* @return mixed|string
*/
Expand Down
1 change: 0 additions & 1 deletion src/Interfaces/ReCaptchaConfigV3Interface.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ public function getSkipIps();
*/
public function getBackgroundBadgeDisplay();


/**
* @return bool
*/
Expand Down
1 change: 0 additions & 1 deletion tests/ViewTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ public function testView1()
$this->assertEquals('contact_us',$data['contact_us_id1']);
}


public function testView2()
{
// Create a stub for the SomeClass class.
Expand Down

0 comments on commit 94c670b

Please sign in to comment.