From 17a0ca6de78a9c18e8f474ba6dd5e79f0e87795e Mon Sep 17 00:00:00 2001 From: Thomas Nabord Date: Mon, 16 Dec 2024 15:20:54 +0000 Subject: [PATCH] Fix typo --- classes/Services/LogsService.php | 2 +- controllers/admin/self-managed/LogsController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/Services/LogsService.php b/classes/Services/LogsService.php index 535c6937fa..d6c821104c 100644 --- a/classes/Services/LogsService.php +++ b/classes/Services/LogsService.php @@ -55,7 +55,7 @@ public function __construct(State $state, Translator $translator, string $logsPa * * @return array{'button_label': string, 'download_path': string, 'filename': string} */ - public function getDownloadLogsdData(string $task): array + public function getDownloadLogsData(string $task): array { $logsPath = $this->getDownloadLogsPath($task); diff --git a/controllers/admin/self-managed/LogsController.php b/controllers/admin/self-managed/LogsController.php index 76cedfb5ff..235e08def1 100644 --- a/controllers/admin/self-managed/LogsController.php +++ b/controllers/admin/self-managed/LogsController.php @@ -44,7 +44,7 @@ public function getDownloadLogsButton(): JsonResponse PageSelectors::DOWNLOAD_LOGS_PARENT_ID, $this->getTwig()->render( '@ModuleAutoUpgrade/components/download_logs.html.twig', - $this->upgradeContainer->getLogsService()->getDownloadLogsdData($type) + $this->upgradeContainer->getLogsService()->getDownloadLogsData($type) ) ); }