Fix code following enlightn recommendation

This commit is contained in:
Amir
2022-11-14 19:54:16 +08:00
parent afacd4d374
commit f994326dce
18 changed files with 14 additions and 28 deletions
@@ -401,7 +401,6 @@ class PaymentController extends Controller
$updatepayment = FileResit::where('payment_id', $getpayment['payment_id'])
->where('id', $getpayment['fileresit_id'])
->first();
$updatepayment->id;
$updatepayment->user_id = $request->user_id;
$updatepayment->payment_id = $updatepayment->payment_id;
$updatepayment->file_type = $file_type;