We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7919235 + 29b341b commit 7a7ea2bCopy full SHA for 7a7ea2b
src/Collector/Neo4jDataCollector.php
@@ -70,7 +70,7 @@ public function collect(Request $request, Response $response, ?\Throwable $excep
70
$mergedArray = array_merge($successfulStatements, $failedStatements);
71
uasort(
72
$mergedArray,
73
- static fn (array $a, array $b) => $a['start_time'] <=> $b['timestamp']
+ static fn (array $a, array $b) => $a['start_time'] <=> ($b['timestamp'] ?? $b['start_time'])
74
);
75
$this->data['statements'] = $mergedArray;
76
}
0 commit comments