From a6fcc388252f661945039458e29d07c23ff32027 Mon Sep 17 00:00:00 2001 From: Sam Light Date: Mon, 31 Mar 2025 00:49:57 +0100 Subject: Made Assets a singleton --- src/AssetsServiceProvider.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/AssetsServiceProvider.php b/src/AssetsServiceProvider.php index c59be48..ba97e21 100644 --- a/src/AssetsServiceProvider.php +++ b/src/AssetsServiceProvider.php @@ -6,9 +6,7 @@ use Illuminate\Support\ServiceProvider; class AssetsServiceProvider extends ServiceProvider { - - public function register(): void - { - - } + public $singletons = [ + Assets::class + ]; } -- cgit v1.2.3