diff --git a/DataCollector/PropelDataCollector.php b/DataCollector/PropelDataCollector.php index 5196b0c9..6b36207e 100644 --- a/DataCollector/PropelDataCollector.php +++ b/DataCollector/PropelDataCollector.php @@ -93,7 +93,7 @@ public function getTime() */ private function buildQueries(): array { - return $this->logger->getQueries(); + return iterator_to_array($this->data['queries'], false); } /**