Skip to content

Commit 96ce81d

Browse files
bavixbotrez1dent3
authored andcommitted
autofix
1 parent 6133654 commit 96ce81d

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
@@ -167,11 +167,6 @@ public function getCurrencyAttribute(): string
167167
return $this->meta['currency'] ?? Str::upper($this->slug);
168168
}
169169

170-
protected function initializeMorphOneWallet(): void
171-
{
172-
$this->uuid ??= app(UuidFactoryServiceInterface::class)->uuid4();
173-
}
174-
175170
/**
176171
* returns all the receiving transfers to this wallet.
177172
*
@@ -181,4 +176,9 @@ public function receivedTransfers(): HasMany
181176
{
182177
return $this->hasMany(config('wallet.transfer.model', Transfer::class), 'to_id');
183178
}
179+
180+
protected function initializeMorphOneWallet(): void
181+
{
182+
$this->uuid ??= app(UuidFactoryServiceInterface::class)->uuid4();
183+
}
184184
}

0 commit comments

Comments
 (0)