This commit is contained in:
David Bomba 2024-11-29 18:58:35 +11:00
parent 0883842750
commit f82c0604eb
1 changed files with 1 additions and 1 deletions

View File

@ -719,7 +719,7 @@ class User extends Authenticatable implements MustVerifyEmail
public function findLatestReferral(string $account_key) public function findLatestReferral(string $account_key)
{ {
return = collect($this->referral_earning) return collect($this->referral_earning)
->filter(function ($earning) use ($account_key) { ->filter(function ($earning) use ($account_key) {
return $earning->account_key === $account_key; return $earning->account_key === $account_key;
}) })