Skip to content

Commit 815a5b5

Browse files
committed
Merge remote-tracking branch 'origin/test-10x' into test-10x
2 parents fefcc10 + 64484fb commit 815a5b5

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)