Skip to content

Commit 446cfca

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: [Phpunit] Fix running skipped tests expecting only deprecations Fix merge [Config] dont catch instances of Error [HttpClient] fix HttpClientDataCollector when handling canceled responses [DependencyInjection] #35505 Fix typo in test name [Yaml][Inline] Fail properly on empty object tag and empty const tag Check non-null type for numeric type Check value isset to avoid PHP notice bug symfony#28179 [DomCrawler] Skip disabled fields processing in Form
2 parents 4240ae2 + 9450670 commit 446cfca

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
@@ -114,7 +114,7 @@ private function collectOnClient(TraceableHttpClient $client): array
114114

115115
unset($info['filetime'], $info['http_code'], $info['ssl_verify_result'], $info['content_type']);
116116

117-
if ($trace['method'] === $info['http_method']) {
117+
if (($info['http_method'] ?? null) === $trace['method']) {
118118
unset($info['http_method']);
119119
}
120120

0 commit comments

Comments
 (0)