diff --git a/src/Provider.php b/src/Provider.php index 6ccd702..bce9375 100644 --- a/src/Provider.php +++ b/src/Provider.php @@ -34,7 +34,7 @@ public function boot(): void public function registerBladeDirectives(): void { - $this->app->afterResolving('blade.compiler', function (BladeCompiler $bladeCompiler) { + $this->callAfterResolving('blade.compiler', function (BladeCompiler $bladeCompiler) { $bladeCompiler->directive('money', function (?string $expression) { return ""; });