We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6133654 commit 96ce81dCopy full SHA for 96ce81d
src/Models/Wallet.php
@@ -167,11 +167,6 @@ public function getCurrencyAttribute(): string
167
return $this->meta['currency'] ?? Str::upper($this->slug);
168
}
169
170
- protected function initializeMorphOneWallet(): void
171
- {
172
- $this->uuid ??= app(UuidFactoryServiceInterface::class)->uuid4();
173
- }
174
-
175
/**
176
* returns all the receiving transfers to this wallet.
177
*
@@ -181,4 +176,9 @@ public function receivedTransfers(): HasMany
181
{
182
return $this->hasMany(config('wallet.transfer.model', Transfer::class), 'to_id');
183
178
179
+
180
+ protected function initializeMorphOneWallet(): void
+ {
+ $this->uuid ??= app(UuidFactoryServiceInterface::class)->uuid4();
+ }
184
0 commit comments