Skip to content

Commit 1211dee

Browse files
committed
remove method
1 parent 80379d0 commit 1211dee

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/Models/Wallet.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -167,16 +167,6 @@ public function getCurrencyAttribute(): string
167167
return $this->meta['currency'] ?? Str::upper($this->slug);
168168
}
169169

170-
/**
171-
* returns all the receiving transfers to this wallet.
172-
*
173-
* @return HasMany<Transfer>
174-
*/
175-
public function receivedTransfers(): HasMany
176-
{
177-
return $this->hasMany(config('wallet.transfer.model', Transfer::class), 'to_id');
178-
}
179-
180170
protected function initializeMorphOneWallet(): void
181171
{
182172
$this->uuid ??= app(UuidFactoryServiceInterface::class)->uuid4();

0 commit comments

Comments
 (0)