@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | $num2 = Util\Number::dec2roman($matches[3]); |
100 | 100 | $text = $this->buildNumberRangeString($num1, $num2, $matches[2]); |
101 | 101 | } else { |
102 | - $text = Util\Number::dec2roman($var); |
|
102 | + $text = Util\Number::dec2roman($var); |
|
103 | 103 | } |
104 | 104 | break; |
105 | 105 | case 'numeric': |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | if (preg_match("/\s*(\d+)\s*([\-\-\&,])\s*(\d+)\s*/", $var, $matches)) { |
115 | 115 | $text = $this->buildNumberRangeString($matches[1], $matches[3], $matches[2]); |
116 | 116 | } else { |
117 | - $text = Util\Number::dec2roman($var); |
|
117 | + $text = Util\Number::dec2roman($var); |
|
118 | 118 | } |
119 | 119 | break; |
120 | 120 | } |
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | $numRange = "$num1 " . htmlentities(self::RANGE_DELIMITER_AMPERSAND) . " $num2"; |
159 | 159 | } else if (self::RANGE_DELIMITER_COMMA === $delim) { |
160 | 160 | $numRange = $num1 . htmlentities(self::RANGE_DELIMITER_COMMA) . " $num2"; |
161 | - } else { |
|
161 | + } else { |
|
162 | 162 | $numRange = $num1 . self::RANGE_DELIMITER_HYPHEN . $num2; |
163 | 163 | } |
164 | 164 | return $numRange; |