Skip to content

Commit

Permalink
[BUGFIX] Avoid dynamic properties in ModuleController
Browse files Browse the repository at this point in the history
Resolves: #221
Releases: main, 12.4
  • Loading branch information
brotkrueml committed Nov 6, 2023
1 parent d7a3d71 commit a5b4b62
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 @@ -8,6 +8,9 @@ This project adheres to [Semantic Versioning](https://semver.org/).
### Changed
- Use Configuration/user.tsconfig (#214)

### 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 a5b4b62

Please sign in to comment.