Skip to content

Commit 160f3b1

Browse files
committed
Fix comment presenter namespace
1 parent 8afd11a commit 160f3b1

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

backend/app/Http/Controllers/Api/CommentController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
use App\Action\GetByIdRequest;
1313
use App\Action\GetCollectionRequest;
1414
use App\Http\Controllers\ApiController;
15-
use App\Http\Presenter\Comment\CommentAsArrayPresenter;
15+
use App\Http\Presenter\CommentAsArrayPresenter;
1616
use App\Http\Request\Api\AddCommentHttpRequest;
1717
use App\Http\Response\ApiResponse;
1818
use App\Http\Request\Api\CollectionHttpRequest;

backend/app/Http/Presenter/Comment/CommentAsArrayPresenter.php renamed to backend/app/Http/Presenter/CommentAsArrayPresenter.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22

33
declare(strict_types=1);
44

5-
namespace App\Http\Presenter\Comment;
5+
namespace App\Http\Presenter;
66

77
use App\Entity\Comment;
8-
use App\Http\Presenter\CollectionAsArrayPresenter;
9-
use App\Http\Presenter\UserArrayPresenter;
108
use Illuminate\Support\Collection;
119

1210
final class CommentAsArrayPresenter implements CollectionAsArrayPresenter

0 commit comments

Comments
 (0)