Completed
Push — master ( 5423a1...0672d5 )
by Sebastian
09:25
created
src/Seboettg/CiteProc/Rendering/Number.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
                     $num2 = Util\Number::dec2roman($matches[3]);
105 105
                     $text = $this->buildNumberRangeString($num1, $num2, $matches[2]);
106 106
                 } else {
107
-                    $text =  Util\Number::dec2roman($var);
107
+                    $text = Util\Number::dec2roman($var);
108 108
                 }
109 109
                 break;
110 110
             case 'numeric':
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
         if (empty($ordinalSuffix)) {
142 142
             $ordinalSuffix = CiteProc::getContext()->getLocale()->filter('terms', 'ordinal')->single;
143 143
         }
144
-        return $num.$ordinalSuffix;
144
+        return $num . $ordinalSuffix;
145 145
     }
146 146
 
147 147
 
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
             $numRange = "$num1 " . htmlentities(self::RANGE_DELIMITER_AMPERSAND) . " $num2";
167 167
         } else if (self::RANGE_DELIMITER_COMMA === $delim) {
168 168
             $numRange = $num1 . htmlentities(self::RANGE_DELIMITER_COMMA) . " $num2";
169
-        } else  {
169
+        } else {
170 170
             $numRange = $num1 . self::RANGE_DELIMITER_HYPHEN . $num2;
171 171
         }
172 172
         return $numRange;
Please login to merge, or discard this patch.