Skip to content

Commit

Permalink
Fix unused $lang param for captchaPolyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
albertcht authored Jun 13, 2019
1 parent 5e5f064 commit 7aae21d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/InvisibleReCaptchaServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function addBladeDirective(BladeCompiler $blade)
return "<?php echo app('captcha')->render({$lang}); ?>";
});
$blade->directive('captchaPolyfill', function () {
return "<?php echo app('captcha')->renderPolyfill({$lang}); ?>";
return "<?php echo app('captcha')->renderPolyfill(); ?>";
});
$blade->directive('captchaHTML', function () {
return "<?php echo app('captcha')->renderCaptchaHTML(); ?>";
Expand Down

0 comments on commit 7aae21d

Please sign in to comment.