Detect the season phase from a season object's type value.
Object with a numeric type property
type
The corresponding SeasonPhase enum value
If the season type is not a recognized value (1-4)
Detect the season phase from a season object's type value.