Pārlūkot izejas kodu

Merge branch 'develop'

master
Guillaume Bourgeois pirms 5 mēnešiem
vecāks
revīzija
055fa1f4c2
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      Statistic/Statistic.php

+ 2
- 2
Statistic/Statistic.php Parādīt failu

@@ -58,8 +58,8 @@ class Statistic
public function setData(string $propertyName, string $key, $value)
{
if (isset($this->properties[$propertyName])) {
$this->properties[$propertyName]['data'][$key] += number_format($value, 2);
$this->properties[$propertyName]['total_period'] += number_format($value, 2);
$this->properties[$propertyName]['data'][$key] += $value;
$this->properties[$propertyName]['total_period'] += $value;
} else {
throw new \Exception('La proprieté "' . $propertyName . '" n\'existe pas ');
}

Notiek ielāde…
Atcelt
Saglabāt