Skip to content

Commit 1ae661c

Browse files
committed
Merge branch '5.0'
* 5.0: [Phpunit] Fix running skipped tests expecting only deprecations Fix merge [Config] dont catch instances of Error [HttpClient] fix HttpClientDataCollector when handling canceled responses [FrameworkBundle] remove mention of the old Controller class [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 ffcca84 + 446cfca commit 1ae661c

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

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

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

0 commit comments

Comments
 (0)