Skip to content

Commit 9280ea4

Browse files
committed
Remove unnecessary empty usages
1 parent 4ae8ff4 commit 9280ea4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DataCollector/HttpClientDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ private function getCurlCommand(array $trace): ?string
213213
}
214214
}
215215

216-
$dataArg = empty($dataArg) ? null : implode(' ', $dataArg);
216+
$dataArg = $dataArg ? implode(' ', $dataArg) : null;
217217

218218
foreach (explode("\n", $trace['info']['debug']) as $line) {
219219
$line = substr($line, 0, -1);

0 commit comments

Comments
 (0)