Fixing style errors.

This commit is contained in:
stickler-ci 2019-11-20 11:45:12 +00:00
parent 2c810988a6
commit 3209d550c2

View File

@ -1131,12 +1131,12 @@ class DolGraph
*/
public function total()
{
$value = 0;
foreach($this->data as $valarray) // Loop on each x
$value = 0;
foreach($this->data as $valarray) // Loop on each x
{
$value += $valarray[1];
}
return $value;
$value += $valarray[1];
}
return $value;
}
/**