We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff60104 commit 5b03028Copy full SHA for 5b03028
src/Models/Wallet.php
@@ -172,9 +172,6 @@ protected function initializeMorphOneWallet(): void
172
*/
173
public function receivedTransfers(): HasMany
174
{
175
- return app(CastServiceInterface::class)
176
- ->getWallet($this, false)
177
- ->hasMany(config('wallet.transfer.model', Transfer::class), 'to_id')
178
- ;
+ return $this->hasMany(config('wallet.transfer.model', Transfer::class), 'to_id');
179
}
180
0 commit comments