We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ms
1 parent 9bc3b37 commit a0c46daCopy full SHA for a0c46da
src/Services/View.php
@@ -47,14 +47,14 @@ public function emptyLine(int $count = 1): void
47
48
protected function appendMs(array $data): array
49
{
50
- foreach ($data as &$value) {
+ foreach ($data as $key => &$value) {
51
if (is_array($value)) {
52
$value = $this->appendMs($value);
53
54
continue;
55
}
56
57
- if (is_numeric($value)) {
+ if ($key !== '#' && is_numeric($value)) {
58
$value = $this->round($value) . ' ms';
59
60
0 commit comments