From 6a552e1f59526a43935199853fb7e7caf890e209 Mon Sep 17 00:00:00 2001 From: Florian Leimer Date: Fri, 10 Jan 2025 11:25:35 +0100 Subject: [PATCH] Fix PHP 8.4 deprecation notice for implicitly marking parameter as nullable --- Classes/CodeGenerator/TcaCodeGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/CodeGenerator/TcaCodeGenerator.php b/Classes/CodeGenerator/TcaCodeGenerator.php index 57b14ef0..fabb63b7 100644 --- a/Classes/CodeGenerator/TcaCodeGenerator.php +++ b/Classes/CodeGenerator/TcaCodeGenerator.php @@ -52,7 +52,7 @@ public function __construct( /** * Generates and sets the correct tca for all the inline fields */ - public function setInlineTca(TableDefinitionCollection $tableDefinitionCollection = null): void + public function setInlineTca(?TableDefinitionCollection $tableDefinitionCollection = null): void { $this->tableDefinitionCollection = $tableDefinitionCollection ?? $this->tableDefinitionCollection; foreach ($this->tableDefinitionCollection as $tableDefinition) {