Skip to content

Commit

Permalink
Merge pull request #27 from RyanDaDeng/analysis-XabkYY
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
RyanDaDeng authored Jan 26, 2019
2 parents 99cf745 + 67c82e4 commit 369243c
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 @@ -48,7 +48,6 @@ public function testView1()
$this->assertEquals(null, $service::$collection);
}


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

0 comments on commit 369243c

Please sign in to comment.