From 97087fec42977242023eaad72d4132bb7d59e08e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20H=C3=A9lias?= Date: Tue, 17 Dec 2024 10:19:23 +0100 Subject: [PATCH] [Scheduler] Clarify description of exclusion time --- Trigger/ExcludeTimeTrigger.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Trigger/ExcludeTimeTrigger.php b/Trigger/ExcludeTimeTrigger.php index 57bed27..22bf88b 100644 --- a/Trigger/ExcludeTimeTrigger.php +++ b/Trigger/ExcludeTimeTrigger.php @@ -23,7 +23,7 @@ public function __construct( public function __toString(): string { - return sprintf('%s, from: %s, until: %s', $this->inner, $this->from->format(\DateTimeInterface::ATOM), $this->until->format(\DateTimeInterface::ATOM)); + return \sprintf('%s, excluding from %s until %s', $this->inner, $this->from->format(\DateTimeInterface::ATOM), $this->until->format(\DateTimeInterface::ATOM)); } public function getNextRunDate(\DateTimeImmutable $run): ?\DateTimeImmutable