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

Commitdc727d3

Browse files
committed
[HttpClient] Remove final keyword on AsyncResponse
1 parentc973874 commitdc727d3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎src/Symfony/Component/HttpClient/Response/AsyncResponse.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
*
2828
* @author Nicolas Grekas <p@tchwork.com>
2929
*/
30-
finalclass AsyncResponseimplements ResponseInterface, StreamableInterface
30+
class AsyncResponseimplements ResponseInterface, StreamableInterface
3131
{
3232
use CommonResponseTrait;
3333

@@ -126,7 +126,7 @@ public function getInfo(string $type = null): mixed
126126
/**
127127
* @return resource
128128
*/
129-
publicfunctiontoStream(bool$throw =true)
129+
finalpublicfunctiontoStream(bool$throw =true)
130130
{
131131
if ($throw) {
132132
// Ensure headers arrived

‎src/Symfony/Component/HttpClient/Response/CommonResponseTrait.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ trait CommonResponseTrait
3535
privateint$offset =0;
3636
private ?array$jsonData =null;
3737

38-
publicfunctiongetContent(bool$throw =true):string
38+
finalpublicfunctiongetContent(bool$throw =true):string
3939
{
4040
if ($this->initializer) {
4141
self::initialize($this);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp