From 96ce81d12316ee8ff1edf043c19dd607aa336b11 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 6ff192ed1..f7628b48f 100644 --- a/src/Models/Wallet.php +++ b/src/Models/Wallet.php @@ -167,11 +167,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. * @@ -181,4 +176,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(); + } }