Skip to content

Use class constants for valid Respondents.approved values #80

@PhantomWatson

Description

@PhantomWatson

The -1, 0, and 1 values for 'Respondents.approved' should really be
changed to class constants. Suggestions:

-1 => RespondentsTable::DISMISSED
 0 => RespondentsTable::NOT_ADDRESSED
 1 => RespondentsTable::APPROVED

And these integers should be changed to references to those class constants in all of the appropriate getters and setters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions