From cd98b3817d53ace3a1345e30d8ce6d15af6decb5 Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 19 Sep 2024 18:26:08 +0100 Subject: [PATCH] Removed duplicate line Signed-off-by: snipe --- app/Http/Controllers/Api/DepreciationsController.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/Http/Controllers/Api/DepreciationsController.php b/app/Http/Controllers/Api/DepreciationsController.php index 9d579d21cb..254a72c98e 100644 --- a/app/Http/Controllers/Api/DepreciationsController.php +++ b/app/Http/Controllers/Api/DepreciationsController.php @@ -59,8 +59,6 @@ class DepreciationsController extends Controller } $total = $depreciations->count(); - $components = $depreciations->skip($offset)->take($limit)->get(); - $depreciations = $depreciations->skip($offset)->take($limit)->get(); return (new DepreciationsTransformer)->transformDepreciations($depreciations, $total);