From 0d4a89c4987eace677486db21f604d02436e70d0 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 30 Jan 2024 21:29:20 +0000 Subject: [PATCH] bump --- Controller/ApiController.php | 4 ++-- Theme/Backend/Components/Comment/CreateView.php | 2 +- Theme/Backend/Components/Comment/ListView.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Controller/ApiController.php b/Controller/ApiController.php index 6a8492c..d3240b2 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -215,7 +215,7 @@ final class ApiController extends Controller $comment->id, $media->id, CommentMapper::class, - 'media', + 'files', '', $request->getOrigin() ); @@ -264,7 +264,7 @@ final class ApiController extends Controller $comment->id, $media->id, CommentMapper::class, - 'media', + 'files', '', $request->getOrigin() ); diff --git a/Theme/Backend/Components/Comment/CreateView.php b/Theme/Backend/Components/Comment/CreateView.php index f4ed152..5615761 100755 --- a/Theme/Backend/Components/Comment/CreateView.php +++ b/Theme/Backend/Components/Comment/CreateView.php @@ -41,7 +41,7 @@ class CreateView extends View /** * {@inheritdoc} */ - public function __construct(?L11nManager $l11n = null, RequestAbstract $request, ResponseAbstract $response) + public function __construct(L11nManager $l11n, RequestAbstract $request, ResponseAbstract $response) { parent::__construct($l11n, $request, $response); $this->setTemplate('/Modules/Comments/Theme/Backend/Components/Comment/create'); diff --git a/Theme/Backend/Components/Comment/ListView.php b/Theme/Backend/Components/Comment/ListView.php index 40a2d06..57f15f8 100755 --- a/Theme/Backend/Components/Comment/ListView.php +++ b/Theme/Backend/Components/Comment/ListView.php @@ -42,7 +42,7 @@ class ListView extends View /** * {@inheritdoc} */ - public function __construct(?L11nManager $l11n = null, RequestAbstract $request, ResponseAbstract $response) + public function __construct(L11nManager $l11n, RequestAbstract $request, ResponseAbstract $response) { parent::__construct($l11n, $request, $response); $this->setTemplate('/Modules/Comments/Theme/Backend/Components/Comment/list');