diff --git a/DataCollector/DoctrineDataCollector.php b/DataCollector/DoctrineDataCollector.php index cca34d4b5..4c211d7c3 100644 --- a/DataCollector/DoctrineDataCollector.php +++ b/DataCollector/DoctrineDataCollector.php @@ -25,7 +25,7 @@ /** * @psalm-type QueryType = array{ - * executionMS: int, + * executionMS: float, * explainable: bool, * sql: string, * params: ?array, @@ -290,7 +290,7 @@ public function getGroupedQueries() return $this->groupedQueries; } - private function executionTimePercentage(int $executionTimeMS, int $totalExecutionTimeMS): float + private function executionTimePercentage(float $executionTimeMS, float $totalExecutionTimeMS): float { if (! $totalExecutionTimeMS) { return 0;