src/Html/Controlls/DateAndTime.php
private static function getHours(): array
    {
        $hours = [-1 => static::getConstant('TXT_DATETIME_HH', 'TXT_DATETIME_HH')];
        for ($i = 0; $i <= 23; $i++) {
            $hours[$i] = \sprintf('%02s', $i);
        }
        return $hours;
    }
private static function getHours(): array
    {
        $hours = [-1 => static::getConstant('TXT_DATETIME_HH', 'TXT_DATETIME_HH')];
        for ($i = 0; $i <= 23; $i++) {
            $hours[$i] = \sprintf('%02s', $i);
        }
        return $hours;
    }
private static function getHours ( ) : array { $ hours = [ - 1 => static :: getConstant ( 'TXT_DATETIME_HH' , 'TXT_DATETIME_HH' ) ] ; for ( $ i = 0 ; $ i <= 23 ; $ i ++ ) { $ hours [ $ i ] = \ sprintf ( '%02s' , $ i ) ; } return $ hours ; }
Returns hours array

@return array
Returns hours array