summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Light <sam@lightscale.co.uk>2025-03-31 00:49:57 +0100
committerSam Light <samlight1994@gmail.com>2025-03-31 00:49:57 +0100
commita6fcc388252f661945039458e29d07c23ff32027 (patch)
tree96b738dce7f695895d1a4e70b3b4a43c924d324b
parentc85ac39b61875f6b570612739b0244160243d263 (diff)
Made Assets a singleton
-rw-r--r--src/AssetsServiceProvider.php8
1 files changed, 3 insertions, 5 deletions
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
+ ];
}