src/Month.php
public function getMinLength() : int
    {
        switch ($this->month) {
            case Month::FEBRUARY:
                return 28;
            case Month::APRIL:
            case Month::JUNE:
            case Month::SEPTEMBER:
            case Month::NOVEMBER:
                return 30;
            default:
                return 31;
        }
    }
public function getMinLength() : int
    {
        switch ($this->month) {
            case Month::FEBRUARY:
                return 28;
            case Month::APRIL:
            case Month::JUNE:
            case Month::SEPTEMBER:
            case Month::NOVEMBER:
                return 30;
            default:
                return 31;
        }
    }
public function getMinLength ( ) : int { switch ( $ this -> month ) { case Month :: FEBRUARY : return 28 ; case Month :: APRIL : case Month :: JUNE : case Month :: SEPTEMBER : case Month :: NOVEMBER : return 30 ; default : return 31 ; } }
Returns the minimum length of this month in days.

@return int The minimum length of this month in days, from 28 to 31.
Returns the minimum length of this month in days .