Pārlūkot izejas kodu

Merge branch 'develop'

master
Guillaume Bourgeois pirms 10 mēnešiem
vecāks
revīzija
94b2d625b1
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. +3
    -1
      Statistic/Statistic.php

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

@@ -58,7 +58,9 @@ class Statistic
public function setData(string $propertyName, string $key, $value)
{
if (isset($this->properties[$propertyName])) {
$this->properties[$propertyName]['data'][$key] += $value;
if(isset($this->properties[$propertyName]['data'][$key])) {
$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