Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate
This commit is contained in:
parent
c517a8008a
commit
eb01d15e78
1 changed files with 1 additions and 1 deletions
|
|
@ -783,7 +783,7 @@ class Fichinter extends CommonObject
|
|||
$thm = $this->author->thm;
|
||||
|
||||
foreach ($this->lines as $line) {
|
||||
$amount += ($line->duration / 60 / 60 * $thm);
|
||||
$amount += ($line->duration / 60 / 60 * (float) $thm);
|
||||
}
|
||||
|
||||
return (float) price2num($amount, 'MT');
|
||||
|
|
|
|||
Loading…
Reference in a new issue