Passed
Push — new-api ( e6ef7d...34a0a9 )
by Sebastian
04:34
created
src/Styles/DisplayRenderer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,6 +29,6 @@
 block discarded – undo
29 29
             return $text;
30 30
         }
31 31
 
32
-        return sprintf("<div class=\"csl-%s\">%s</div>", (string)$this->display, $text);
32
+        return sprintf("<div class=\"csl-%s\">%s</div>", (string) $this->display, $text);
33 33
     }
34 34
 }
Please login to merge, or discard this patch.
src/Rendering/Number/Number.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
         }
135 135
         $number = $data->{$this->variable};
136 136
         $decimalNumber = $this->toDecimalNumber($number);
137
-        switch ((string)$this->form) {
137
+        switch ((string) $this->form) {
138 138
             case Form::ORDINAL:
139 139
                 if (preg_match(self::PATTERN_ORDINAL, $decimalNumber, $matches)) {
140 140
                     $num1 = $this->ordinal($matches[1]);
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
         if (empty($ordinalSuffix)) {
214 214
             $ordinalSuffix = $this->locale->filter('terms', 'ordinal')->single;
215 215
         }
216
-        return $num . $ordinalSuffix;
216
+        return $num.$ordinalSuffix;
217 217
     }
218 218
 
219 219
     /**
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
     public function longOrdinal($num)
224 224
     {
225 225
         $num = sprintf("%02d", $num);
226
-        $ret = $this->locale->filter('terms', 'long-ordinal-' . $num)->single;
226
+        $ret = $this->locale->filter('terms', 'long-ordinal-'.$num)->single;
227 227
         if (!$ret) {
228 228
             return $this->ordinal($num);
229 229
         }
Please login to merge, or discard this patch.