Skip to content

ScheduleStatusEnum::incomplete() and upcoming() return identical values #340

@jbrooksuk

Description

@jbrooksuk

Priority: P3 (Medium - Plan to Fix)

Problem

In src/Enums/ScheduleStatusEnum.php:22-34, both incomplete() and upcoming() return [self::upcoming->value, self::in_progress->value].

This is either a copy-paste error or naming confusion. upcoming() logically should return only [self::upcoming->value].

Suggested Fix

Verify the intended semantics and deduplicate or correct the upcoming() method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions