diff --git a/src/Watchers/QueryWatcher.php b/src/Watchers/QueryWatcher.php index dff49989e..56dd6c555 100644 --- a/src/Watchers/QueryWatcher.php +++ b/src/Watchers/QueryWatcher.php @@ -40,7 +40,7 @@ public function recordQuery(QueryExecuted $event) 'connection' => $event->connectionName, 'bindings' => [], 'sql' => $this->replaceBindings($event), - 'time' => number_format($time, 2), + 'time' => number_format($time, 2, '.', ''), 'slow' => isset($this->options['slow']) && $time >= $this->options['slow'], 'file' => $caller['file'], 'line' => $caller['line'], diff --git a/src/Watchers/RedisWatcher.php b/src/Watchers/RedisWatcher.php index c344a957e..d4dc915b7 100644 --- a/src/Watchers/RedisWatcher.php +++ b/src/Watchers/RedisWatcher.php @@ -40,7 +40,7 @@ public function recordCommand(CommandExecuted $event) Telescope::recordRedis(IncomingEntry::make([ 'connection' => $event->connectionName, 'command' => $this->formatCommand($event->command, $event->parameters), - 'time' => number_format($event->time, 2), + 'time' => number_format($event->time, 2, '.', ''), ])); }