Skip to content

Commit

Permalink
[Backport 12.4] [BUGFIX] Avoid dynamic properties in ModuleController (
Browse files Browse the repository at this point in the history
…#224)

Resolves: #221
Releases: main, 12.4
  • Loading branch information
brotkrueml committed Nov 6, 2023
1 parent 28674fb commit 1180150
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ This project adheres to [Semantic Versioning](https://semver.org/).

## Unreleased

### Fixed
- Dynamic properties in ModuleController (#221)

## 12.0.1 - 2023-09-16

### Fixed
Expand Down
3 changes: 3 additions & 0 deletions Classes/Controller/ModuleController.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ class ModuleController extends ActionController implements LoggerAwareInterface
{
use LoggerAwareTrait;

private int $pageUid;
private array $exampleConfig;

public function __construct(
protected readonly ModuleTemplateFactory $moduleTemplateFactory,
protected readonly IconFactory $iconFactory,
Expand Down

0 comments on commit 1180150

Please sign in to comment.