Make segment description mandatory

[MAILPOET-3077]
This commit is contained in:
Rostislav Wolny
2020-09-24 14:41:55 +02:00
committed by Veljko V
parent c78922c12e
commit 2f270575f3
4 changed files with 4 additions and 4 deletions

View File

@ -50,7 +50,7 @@ class SegmentEntity {
*/
private $dynamicFilters;
public function __construct(string $name, string $type, string $description = '') {
public function __construct(string $name, string $type, string $description) {
$this->name = $name;
$this->type = $type;
$this->description = $description;