From 3e3a4326b252c1a9ecaf0e43ff75e7262d6f28d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Duli=C3=A7i?= Date: Sun, 10 Dec 2023 14:47:48 +0000 Subject: [PATCH] fixed blade directive registration --- src/Provider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ""; });