Skip to content

Commit 0b554d3

Browse files
FIX blade directive
1 parent ff625ee commit 0b554d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GoogleRecaptchaV3.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class GoogleRecaptchaV3
1414
public function boot(): void
1515
{
1616
Blade::directive('recaptcha', fn (string $expression) => (
17-
'<?php echo app('.self::class.")->renderHtml({$expression}); ?>"
17+
"<?php echo app(\Maize\GoogleRecaptchaV3\GoogleRecaptchaV3::class)->renderHtml({$expression}); ?>"
1818
));
1919

2020
Rule::macro('googleRecaptchaV3', fn (?float $scoreThreshold = null) => (

0 commit comments

Comments
 (0)