diff --git a/CHANGELOG.md b/CHANGELOG.md index 5fb45a8..34bbe88 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,22 +11,19 @@ This project adheres to [Semantic Versioning](https://semver.org/). ### Changed ### Fixed +- Add return type to `ModuleController->initializeAction()` (#74) ### Removed ## 12.0.2 -### Added - ### Changed - The main branch was renamed from `master` to `main` ### Fixed - Fix `Services.yaml` for type converter example (#41) -### Removed - ## 12.0.1 ### Added @@ -34,7 +31,3 @@ This project adheres to [Semantic Versioning](https://semver.org/). ### Changed - Changed the vendor to t3docs (#40) - -### Fixed - -### Removed diff --git a/Classes/Controller/BackendController.php b/Classes/Controller/BackendController.php index abed503..f497161 100644 --- a/Classes/Controller/BackendController.php +++ b/Classes/Controller/BackendController.php @@ -54,7 +54,7 @@ public function __construct( /** * Function will be called before every other action */ - protected function initializeAction() + protected function initializeAction(): void { $this->pageUid = (int)($this->request->getQueryParams()['id'] ?? 0); parent::initializeAction();