Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/test-10x' into test-10x
Browse files Browse the repository at this point in the history
  • Loading branch information
rez1dent3 committed Mar 9, 2024
2 parents fefcc10 + 64484fb commit 815a5b5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Models/Wallet.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,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.
*
Expand All @@ -173,4 +168,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();
}
}

0 comments on commit 815a5b5

Please sign in to comment.