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.
2 parents fefcc10 + 64484fb commit 815a5b5Copy full SHA for 815a5b5
src/Models/Wallet.php
@@ -159,11 +159,6 @@ public function getCurrencyAttribute(): string
159
return $this->meta['currency'] ?? Str::upper($this->slug);
160
}
161
162
- protected function initializeMorphOneWallet(): void
163
- {
164
- $this->uuid ??= app(UuidFactoryServiceInterface::class)->uuid4();
165
- }
166
-
167
/**
168
* returns all the receiving transfers to this wallet.
169
*
@@ -173,4 +168,9 @@ public function receivedTransfers(): HasMany
173
{
174
return $this->hasMany(config('wallet.transfer.model', Transfer::class), 'to_id');
175
170
171
+
172
+ protected function initializeMorphOneWallet(): void
+ {
+ $this->uuid ??= app(UuidFactoryServiceInterface::class)->uuid4();
+ }
176
0 commit comments