Fixing style errors.

This commit is contained in:
stickler-ci 2021-01-18 10:33:46 +00:00
parent 383281e5f3
commit fe01f35207

View File

@ -483,7 +483,7 @@ class DolGraph
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
/**
* Mirror Values of the graph
*
*
* @param boolean $mirrorGraphValues Mirror Values if true and doesn't if false
* @return void
*/
@ -1354,7 +1354,7 @@ class DolGraph
$this->stringtoshow .= 'backgroundColor: \'' . $color . '\', ';
if ($arrayofgroupslegend[$i]) $this->stringtoshow .= 'stack: \'' . $arrayofgroupslegend[$i]['stacknum'] . '\', ';
$this->stringtoshow .= 'data: [';
$this->stringtoshow .= $this->mirrorGraphValues ? '[' . -$serie[$i] . ',' . $serie[$i] . ']' : $serie[$i];
$this->stringtoshow .= ']';
$this->stringtoshow .= '}' . "\n";