⚠️ Potential issue | 🟡 Minor
Typo in user-facing message: "then" → "than".
"start-date can not be later then" should read "start-date can not be later than".
Proposed fix
- $this->message = $message ?? $options['message'] ?? 'Due to existing schedule entries, start-date can not be later then {{ startDate }}';
+ $this->message = $message ?? $options['message'] ?? 'Due to existing schedule entries, start-date can not be later than {{ startDate }}';
📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
$this->message = $message ?? $options['message'] ?? 'Due to existing schedule entries, start-date can not be later than {{ startDate }}';
🤖 Prompt for AI Agents
In
`@api/src/Validator/Period/AssertLessThanOrEqualToEarliestScheduleEntryStart.php`
at line 12, The user-facing message in the
AssertLessThanOrEqualToEarliestScheduleEntryStart validator sets $this->message
with the string containing a typo ("then" instead of "than"); update the message
assigned to $this->message in that class to replace "then" with "than" so it
reads "start-date can not be later than {{ startDate }}".
Originally posted by @coderabbitai[bot] in #9013 (comment)
Typo in user-facing message: "then" → "than".
"start-date can not be later then"should read"start-date can not be later than".Proposed fix
📝 Committable suggestion
🤖 Prompt for AI Agents
Originally posted by @coderabbitai[bot] in #9013 (comment)