Skip to content

Commit

Permalink
fix coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
albertcht authored Jan 26, 2021
1 parent 8e31515 commit a7f0f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/InvisibleReCaptcha.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public function renderCaptchaHTML()
public function renderFooterJS($lang = null, $nonce = null)
{
$html = '<script src="' . $this->getCaptchaJs($lang) . '" async defer';
if (isset($nonce) && !empty($nonce)){
if (isset($nonce) && ! empty($nonce)) {
$html .= ' nonce="' . $nonce . '"';
}
$html .= '></script>' . PHP_EOL;
Expand Down

0 comments on commit a7f0f08

Please sign in to comment.