Skip to content

Commit

Permalink
gitflow-release-stash: 2.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthieu committed Apr 4, 2022
1 parent e93890c commit c9366eb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
13 changes: 4 additions & 9 deletions Entity/EventTranslation.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,19 @@ class EventTranslation implements AuditableInterface

/**
* @ORM\Column(type="string")
* @Serializer\Expose()
*/
private $name;

/**
* @ORM\Column(type="text", nullable=true)
* @Serializer\Expose()
*/
private ?string $description;

/**
* @ORM\Column(type="string", length=255)
* @Serializer\Expose()
*
* @Serializer\Expose()
*/
Expand All @@ -75,14 +78,6 @@ public function getId(): ?int
return $this->id;
}

/**
* @param int|null $id
*/
public function setId(?int $id): void
{
$this->id = $id;
}

/**
* @return Event
*/
Expand Down Expand Up @@ -120,7 +115,7 @@ public function getName()
*/
public function setName($name): void
{
$this->name = $name;
$this->name = trim($name);
}

/**
Expand Down
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 2.4.6 (03/04/2022)



## 2.4.5 (31/03/2022)

- Fix description
Expand Down

0 comments on commit c9366eb

Please sign in to comment.