Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf51adc5

Browse files
[HttpClient] fix HttpClientDataCollector
1 parent2a91f28 commitf51adc5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/Symfony/Component/HttpClient/DataCollector/HttpClientDataCollector.php‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ private function collectOnClient(TraceableHttpClient $client): array
135135

136136
$debugInfo =array_diff_key($info,$baseInfo);
137137
$info =array_diff_key($info,$debugInfo) + ['debug_info' =>$debugInfo];
138+
unset($traces[$i]['info']);// break PHP reference used by TraceableHttpClient
138139
$traces[$i]['info'] =$this->cloneVar($info);
139140
$traces[$i]['options'] =$this->cloneVar($trace['options']);
140141
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp