php: Fix formatting of Duration (#6155)
* php: Fixed php notices for unknown enum indices * php: Fixed formatting of Duration This fixes: * Missing nanoseconds. The nanoseconds where divided as a float and implicitly converted to a string before being passed to bcadd. This can result in a float formatted in scientific/exponential notation, which bcmath doesn't understand. * Durations are supposed to be formatted without trailing zeroes.pull/6277/head
parent
f2a919f58f
commit
43307d4da0
3 changed files with 31 additions and 14 deletions
Loading…
Reference in new issue