From 64484fbb7930131062baff8eff9fccb798ef67b9 Mon Sep 17 00:00:00 2001 From: Github bot Date: Sat, 9 Mar 2024 15:27:09 +0000 Subject: [PATCH] autofix --- src/Models/Wallet.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Models/Wallet.php b/src/Models/Wallet.php index 51f32a853..9cec8c5a4 100644 --- a/src/Models/Wallet.php +++ b/src/Models/Wallet.php @@ -159,11 +159,6 @@ public function getCurrencyAttribute(): string return $this->meta['currency'] ?? Str::upper($this->slug); } - protected function initializeMorphOneWallet(): void - { - $this->uuid ??= app(UuidFactoryServiceInterface::class)->uuid4(); - } - /** * returns all the receiving transfers to this wallet. * @@ -173,4 +168,9 @@ public function receivedTransfers(): HasMany { return $this->hasMany(config('wallet.transfer.model', Transfer::class), 'to_id'); } + + protected function initializeMorphOneWallet(): void + { + $this->uuid ??= app(UuidFactoryServiceInterface::class)->uuid4(); + } }