Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanDaDeng authored and StyleCIBot committed Jan 26, 2019
1 parent e863303 commit 012037a
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 012037a

Please sign in to comment.