diff --git a/app/Models/User.php b/app/Models/User.php index 9c3e4089b8..40f84d720e 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -719,7 +719,7 @@ class User extends Authenticatable implements MustVerifyEmail public function findLatestReferral(string $account_key) { - return = collect($this->referral_earning) + return collect($this->referral_earning) ->filter(function ($earning) use ($account_key) { return $earning->account_key === $account_key; })