Skip to content

Commit 78c2d3d

Browse files
committed
fix codesniffer issue
1 parent e64b971 commit 78c2d3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

types/Decimal.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ class Decimal extends AbstractMultiBaseType
3838
*/
3939
public function renderValue($value, \Doku_Renderer $R, $mode)
4040
{
41-
if (preg_match("/^%(?:['+-:.]?\D?\d*\.?\d*)?[bdeEfFu]$/",$this->config['format'])) {
42-
$R->cdata($this->config['prefix'] . sprintf($this->config['format'],$value) . $this->config['postfix']);
41+
if (preg_match("/^%(?:['+-:.]?\D?\d*\.?\d*)?[bdeEfFu]$/", $this->config['format'])) {
42+
$R->cdata($this->config['prefix'] . sprintf($this->config['format'], $value) . $this->config['postfix']);
4343
return true;
4444
}
4545

0 commit comments

Comments
 (0)