Skip to content

Commit cc923ba

Browse files
maxheliasnicolas-grekas
authored andcommitted
[Scheduler] Clarify description of exclusion time
1 parent 62ef125 commit cc923ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Scheduler/Trigger/ExcludeTimeTrigger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function __construct(
2323

2424
public function __toString(): string
2525
{
26-
return sprintf('%s, from: %s, until: %s', $this->inner, $this->from->format(\DateTimeInterface::ATOM), $this->until->format(\DateTimeInterface::ATOM));
26+
return \sprintf('%s, excluding from %s until %s', $this->inner, $this->from->format(\DateTimeInterface::ATOM), $this->until->format(\DateTimeInterface::ATOM));
2727
}
2828

2929
public function getNextRunDate(\DateTimeImmutable $run): ?\DateTimeImmutable

0 commit comments

Comments
 (0)