Skip to content

Commit 5864504

Browse files
committed
Composer Fixes
1 parent 57d5238 commit 5864504

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/Calc/GF/Cone/Cona.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ protected function parseConfig($config)
320320
gettype($this->{$prop->getName()}) == 'array' &&
321321
gettype($configValue) == 'object'
322322
) {
323-
$configValue = json_decode(json_encode($configValue), true);
323+
$configValue = json_decode((string)json_encode($configValue), true);
324324
}
325325
$this->{$prop->getName()} = $configValue;
326326
}

src/Calc/GF/TSS/OHTSistemi/Podsistemi/Generatorji/ToplotnaPodpostaja.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,9 @@ public function potrebnaElektricnaEnergija($vneseneIzgube, $sistem, $cona, $okol
202202
// POLNJENJE POSREDNO OGREVANEGA HRANILNIKA
203203
// t - čas delovanja črpalke [h]
204204
// enačba 153
205-
$t_p = ($vneseneIzgube[$mesec] ?? 0) * $this->delezPokrivanjaEnegije * 1.1 / $this->nazivnaMoc;
205+
$t_p = ($vneseneIzgube[$mesec] ?? 0) *
206+
$this->delezPokrivanjaEnegije * 1.1 /
207+
$this->nazivnaMoc;
206208

207209
// nazivna moč črpalke [W]. Podatek proizvajalca ali prevzeta vrednost
208210
// todo: to lahko uporabnik določi kot podatek v $config

0 commit comments

Comments
 (0)