From 7dbdf0c4ff05738cdfcf034538abdd81fcb36cef Mon Sep 17 00:00:00 2001 From: James Cole Date: Thu, 21 Sep 2023 11:35:21 +0200 Subject: [PATCH] Move class --- app/Api/V2/Controllers/Transaction/List/AccountController.php | 2 +- .../V2/Controllers/Transaction/List/TransactionController.php | 2 +- app/Api/V2/Request/{ => Model}/Transaction/ListRequest.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename app/Api/V2/Request/{ => Model}/Transaction/ListRequest.php (96%) diff --git a/app/Api/V2/Controllers/Transaction/List/AccountController.php b/app/Api/V2/Controllers/Transaction/List/AccountController.php index 0553399e40..057b330f11 100644 --- a/app/Api/V2/Controllers/Transaction/List/AccountController.php +++ b/app/Api/V2/Controllers/Transaction/List/AccountController.php @@ -25,7 +25,7 @@ declare(strict_types=1); namespace FireflyIII\Api\V2\Controllers\Transaction\List; use FireflyIII\Api\V2\Controllers\Controller; -use FireflyIII\Api\V2\Request\Transaction\ListRequest; +use FireflyIII\Api\V2\Request\Model\Transaction\ListRequest; use FireflyIII\Helpers\Collector\GroupCollectorInterface; use FireflyIII\Models\Account; use FireflyIII\Support\Http\Api\TransactionFilter; diff --git a/app/Api/V2/Controllers/Transaction/List/TransactionController.php b/app/Api/V2/Controllers/Transaction/List/TransactionController.php index e863ae45f1..9bcfcbf3de 100644 --- a/app/Api/V2/Controllers/Transaction/List/TransactionController.php +++ b/app/Api/V2/Controllers/Transaction/List/TransactionController.php @@ -24,7 +24,7 @@ declare(strict_types=1); namespace FireflyIII\Api\V2\Controllers\Transaction\List; use FireflyIII\Api\V2\Controllers\Controller; -use FireflyIII\Api\V2\Request\Transaction\ListRequest; +use FireflyIII\Api\V2\Request\Model\Transaction\ListRequest; use FireflyIII\Helpers\Collector\GroupCollectorInterface; use FireflyIII\Transformers\V2\TransactionGroupTransformer; use Illuminate\Http\JsonResponse; diff --git a/app/Api/V2/Request/Transaction/ListRequest.php b/app/Api/V2/Request/Model/Transaction/ListRequest.php similarity index 96% rename from app/Api/V2/Request/Transaction/ListRequest.php rename to app/Api/V2/Request/Model/Transaction/ListRequest.php index 6fa493f569..4a0dbc2a61 100644 --- a/app/Api/V2/Request/Transaction/ListRequest.php +++ b/app/Api/V2/Request/Model/Transaction/ListRequest.php @@ -2,7 +2,7 @@ /* * ListRequest.php - * Copyright (c) 2022 james@firefly-iii.org + * Copyright (c) 2023 james@firefly-iii.org * * This file is part of Firefly III (https://github.com/firefly-iii). * @@ -22,7 +22,7 @@ declare(strict_types=1); -namespace FireflyIII\Api\V2\Request\Transaction; +namespace FireflyIII\Api\V2\Request\Model\Transaction; use Carbon\Carbon; use FireflyIII\Support\Http\Api\TransactionFilter;