Skip to content

Commit

Permalink
Announcement: SetActive(): Set default input value.
Browse files Browse the repository at this point in the history
  • Loading branch information
janbarasek committed Jul 26, 2021
1 parent adf1fda commit e4d070a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Announcement/Entity/Announcement.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function setShowUntil(?\DateTime $showUntil): void
}


public function setActive(bool $active): void
public function setActive(bool $active = true): void
{
$this->active = $active;
}
Expand Down

0 comments on commit e4d070a

Please sign in to comment.