Skip to content

Commit 3e3a432

Browse files
committed
fixed blade directive registration
1 parent 0d71f00 commit 3e3a432

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Provider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function boot(): void
3434

3535
public function registerBladeDirectives(): void
3636
{
37-
$this->app->afterResolving('blade.compiler', function (BladeCompiler $bladeCompiler) {
37+
$this->callAfterResolving('blade.compiler', function (BladeCompiler $bladeCompiler) {
3838
$bladeCompiler->directive('money', function (?string $expression) {
3939
return "<?php echo money($expression); ?>";
4040
});

0 commit comments

Comments
 (0)