Skip to content

Commit

Permalink
Merge pull request #25 from RyanDaDeng/analysis-8w1xLN
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 e863303 + 012037a commit 2689651
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions src/GoogleReCaptchaV3.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function prepareBackgroundData()
*/
public function background()
{
if(self::$hasAction){
if (self::$hasAction) {
return;
}

Expand Down Expand Up @@ -90,7 +90,6 @@ public function render($mappers = [])
);
}


/**
* @return mixed|string
*/
Expand Down
2 changes: 0 additions & 2 deletions tests/ViewTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ public function testView2()
$this->assertEquals('en', $data['language']);
}


public function testView3()
{
// Create a stub for the SomeClass class.
Expand All @@ -85,6 +84,5 @@ public function testView3()
$service->prepareViewData(['contact_us_id' => 'contact_us']);
$background = $service->background();
$this->assertEquals('', $background);

}
}

0 comments on commit 2689651

Please sign in to comment.