Skip to content

Commit

Permalink
Fix PHP 8.4 deprecation notice for implicitly marking parameter as nu…
Browse files Browse the repository at this point in the history
…llable
  • Loading branch information
florian-lst committed Jan 10, 2025
1 parent 830ce7e commit 6a552e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/CodeGenerator/TcaCodeGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 6a552e1

Please sign in to comment.