Skip to content

Commit 64a466e

Browse files
committed
fixed blade directive registration
1 parent 27bd0f5 commit 64a466e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Provider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function boot(): void
3636

3737
public function registerBladeDirectives(): void
3838
{
39-
$this->app->afterResolving('blade.compiler', function (BladeCompiler $bladeCompiler) {
39+
$this->callAfterResolving('blade.compiler', function (BladeCompiler $bladeCompiler) {
4040
$bladeCompiler->directive('apexchartsScripts', function ($expression) {
4141
return '{!! \Akaunting\Apexcharts\Chart::loadScript(' . $expression . ') !!}';
4242
});

0 commit comments

Comments
 (0)