src/Html/Controlls/DateAndTime.php
private static function getMonths(): array
    {
        $months = [-1 => static::getConstant('TXT_DATETIME_MMM', 'TXT_DATETIME_MMM')];
        for ($i = 1; $i <= 12; $i++) {
            $months[$i] = static::getConstant('TXT_DATETIME_MONTH_'.$i.'_SHORT', 'TXT_DATETIME_MONTH_'.$i.'_SHORT');
        }
        return $months;
    }
private static function getMonths(): array
    {
        $months = [-1 => static::getConstant('TXT_DATETIME_MMM', 'TXT_DATETIME_MMM')];
        for ($i = 1; $i <= 12; $i++) {
            $months[$i] = static::getConstant('TXT_DATETIME_MONTH_'.$i.'_SHORT', 'TXT_DATETIME_MONTH_'.$i.'_SHORT');
        }
        return $months;
    }
private static function getMonths ( ) : array { $ months = [ - 1 => static :: getConstant ( 'TXT_DATETIME_MMM' , 'TXT_DATETIME_MMM' ) ] ; for ( $ i = 1 ; $ i <= 12 ; $ i ++ ) { $ months [ $ i ] = static :: getConstant ( 'TXT_DATETIME_MONTH_' . $ i . '_SHORT' , 'TXT_DATETIME_MONTH_' . $ i . '_SHORT' ) ; } return $ months ; }
Returns months array

@return array
Returns months array