8000 [HttpClient] Remove final keyword on AsyncResponse · symfony/symfony@dc727d3 · GitHub
[go: up one dir, main page]

Skip to content

Commit dc727d3

Browse files
committed
[HttpClient] Remove final keyword on AsyncResponse
1 parent c973874 commit dc727d3

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-
final class AsyncResponse implements ResponseInterface, StreamableInterface
30+
class AsyncResponse implements ResponseInterface, StreamableInterface
3131
{
3232
use CommonResponseTrait;
3333

@@ -126,7 +126,7 @@ public function getInfo(string $type = null): mixed
126126
/**
127127
* @return resource
128128
*/
129-
public function toStream(bool $throw = true)
129+
final public function toStream(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
private int $offset = 0;
3636
private ?array $jsonData = null;
3737

38-
public function getContent(bool $throw = true): string
38+
final public function getContent(bool $throw = true): string
3939
{
4040
if ($this->initializer) {
4141
self::initialize($this);

0 commit comments

Comments
 (0)
0