Skip to content

Commit

Permalink
autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
bavixbot authored and rez1dent3 committed Mar 10, 2024
1 parent 6133654 commit 96ce81d
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 @@ -167,11 +167,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 @@ -181,4 +176,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 96ce81d

Please sign in to comment.