Skip to content

Commit

Permalink
Use extend to ensure the implementation is overruled
Browse files Browse the repository at this point in the history
  • Loading branch information
mbardelmeijer committed Jan 29, 2024
1 parent c9ec274 commit 67b3970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LivewireTwigServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ public function boot(): void
{
$this->app->afterResolving('twig', fn () => $this->app['twig']->addExtension(new LivewireExtension()));

$this->app->singleton(DeterministicBladeKeys::class, fn () => new NoneDeterministicTwigKeys());
$this->app->extend(DeterministicBladeKeys::class, fn() => new NoneDeterministicTwigKeys());
}
}

0 comments on commit 67b3970

Please sign in to comment.