Skip to content

Commit 64484fb

Browse files
committed
autofix
1 parent 22b2f45 commit 64484fb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Models/Wallet.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,6 @@ public function getCurrencyAttribute(): string
159159
return $this->meta['currency'] ?? Str::upper($this->slug);
160160
}
161161

162-
protected function initializeMorphOneWallet(): void
163-
{
164-
$this->uuid ??= app(UuidFactoryServiceInterface::class)->uuid4();
165-
}
166-
167162
/**
168163
* returns all the receiving transfers to this wallet.
169164
*
@@ -173,4 +168,9 @@ public function receivedTransfers(): HasMany
173168
{
174169
return $this->hasMany(config('wallet.transfer.model', Transfer::class), 'to_id');
175170
}
171+
172+
protected function initializeMorphOneWallet(): void
173+
{
174+
$this->uuid ??= app(UuidFactoryServiceInterface::class)->uuid4();
175+
}
176176
}

0 commit comments

Comments
 (0)