src/Html/Controlls/DateAndTime.php
private static function getYears(): array
    {
        $years = [-1 => static::getConstant('TXT_DATETIME_YYYY', 'TXT_DATETIME_YYYY')];
        for ($i = 1978; $i <= 2037; $i++) {
            $years[$i] = $i;
        }
        return $years;
    }
private static function getYears(): array
    {
        $years = [-1 => static::getConstant('TXT_DATETIME_YYYY', 'TXT_DATETIME_YYYY')];
        for ($i = 1978; $i <= 2037; $i++) {
            $years[$i] = $i;
        }
        return $years;
    }
private static function getYears ( ) : array { $ years = [ - 1 => static :: getConstant ( 'TXT_DATETIME_YYYY' , 'TXT_DATETIME_YYYY' ) ] ; for ( $ i = 1978 ; $ i <= 2037 ; $ i ++ ) { $ years [ $ i ] = $ i ; } return $ years ; }
Returns years array

@return array
Returns years array