From e4d070a3d3857e82f9b2ddc66aab8dfd362dae28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Bar=C3=A1=C5=A1ek?= Date: Mon, 26 Jul 2021 19:02:40 +0200 Subject: [PATCH] Announcement: SetActive(): Set default input value. --- src/Announcement/Entity/Announcement.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Announcement/Entity/Announcement.php b/src/Announcement/Entity/Announcement.php index a64bf04..5361f8d 100644 --- a/src/Announcement/Entity/Announcement.php +++ b/src/Announcement/Entity/Announcement.php @@ -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; }