From f82c0604eb366917184dafa1165a7385fb934f63 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Fri, 29 Nov 2024 18:58:35 +1100 Subject: [PATCH] updates --- app/Models/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; })