Skip to content

Commit

Permalink
[ClacoForm] fixes copy
Browse files Browse the repository at this point in the history
  • Loading branch information
Elorfin committed May 15, 2024
1 parent cc34cf3 commit 98e5b0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugin/claco-form/Entity/ClacoForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class ClacoForm extends AbstractResource
/**
* @ORM\Column(type="json", nullable=true)
*/
private array $details = [];
private ?array $details = [];

/**
* Ask for confirmation when a user submit a new entry.
Expand Down Expand Up @@ -188,7 +188,7 @@ public function setHelpMessage(string $message = null): void

public function getDetails()
{
return $this->details;
return $this->details || [];
}

public function setDetails($details): void
Expand Down

0 comments on commit 98e5b0c

Please sign in to comment.