Skip to content

Commit

Permalink
Make properties accessible from a possible parent class
Browse files Browse the repository at this point in the history
  • Loading branch information
Prometee committed Jun 21, 2024
1 parent 81bc19a commit f43bd95
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/Entity/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ class Message implements ResourceInterface, TimestampableInterface, ToggleableIn
protected ?string $description = null;

/** @var Collection<int, ChannelInterface> */
private Collection $channels;
protected Collection $channels;

private ?string $templateHtml = null;
protected ?string $templateHtml = null;

private ?DateTimeInterface $fromDate = null;
protected ?DateTimeInterface $fromDate = null;

private ?DateTimeInterface $toDate = null;
protected ?DateTimeInterface $toDate = null;

/**
* Message constructor.
Expand Down
4 changes: 2 additions & 2 deletions src/Entity/MessageTranslation.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ class MessageTranslation extends AbstractTranslation implements ResourceInterfac
{
protected ?int $id = null;

private ?string $title = null;
protected ?string $title = null;

private ?string $message = null;
protected ?string $message = null;

public function getId(): ?int
{
Expand Down

0 comments on commit f43bd95

Please sign in to comment.