From 9fb2489ed9531b09b05e64286cebafdcaf0b4c83 Mon Sep 17 00:00:00 2001 From: Riad Date: Wed, 19 Jun 2024 17:40:36 +0200 Subject: [PATCH] Release 1.0.1 --- Classes/Controller/BiteJobsController.php | 7 ++++--- Documentation/Settings.cfg | 4 ++-- ext_emconf.php | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Classes/Controller/BiteJobsController.php b/Classes/Controller/BiteJobsController.php index 6ca1d63..5a82588 100644 --- a/Classes/Controller/BiteJobsController.php +++ b/Classes/Controller/BiteJobsController.php @@ -5,14 +5,15 @@ namespace FGTCLB\AcademicBiteJobs\Controller; use Psr\Http\Message\ResponseInterface; +use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Extbase\Mvc\Controller\ActionController; use FGTCLB\AcademicBiteJobs\Services\BiteJobsService; class BiteJobsController extends ActionController { - public function __construct( - protected readonly BiteJobsService $biteJobsService - ) { + protected BiteJobsService $biteJobsService; + public function __construct(BiteJobsService $biteJobsService) { + $this->biteJobsService = $biteJobsService ?? GeneralUtility::makeInstance(BiteJobsService::class); } public function listAction(): ResponseInterface { diff --git a/Documentation/Settings.cfg b/Documentation/Settings.cfg index 52e313e..24144c8 100644 --- a/Documentation/Settings.cfg +++ b/Documentation/Settings.cfg @@ -3,8 +3,8 @@ [general] -project = Academic Profiles -release = 0.1.0 +project = Academic Bite Jobs +release = 1.0.1 copyright = since 2023 by FGTCLB GmbH [html_theme_options] diff --git a/ext_emconf.php b/ext_emconf.php index 97b50f0..2f54013 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -9,7 +9,7 @@ ], ], 'state' => 'stable', - 'version' => '1.0.0', + 'version' => '1.0.1', 'clearCacheOnLoad' => true, 'category' => 'fe,be', 'author' => 'Riad Zejnilagic Trumic',