File tree 2 files changed +3
-3
lines changed
src/Symfony/Component/HttpClient/Response
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 27
27
*
28
28
* @author Nicolas Grekas <p@tchwork.com>
29
29
*/
30
- final class AsyncResponse implements ResponseInterface, StreamableInterface
30
+ class AsyncResponse implements ResponseInterface, StreamableInterface
31
31
{
32
32
use CommonResponseTrait;
33
33
@@ -126,7 +126,7 @@ public function getInfo(string $type = null): mixed
126
126
/**
127
127
* @return resource
128
128
*/
129
- public function toStream (bool $ throw = true )
129
+ final public function toStream (bool $ throw = true )
130
130
{
131
131
if ($ throw ) {
132
132
// Ensure headers arrived
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ trait CommonResponseTrait
35
35
private int $ offset = 0 ;
36
36
private ?array $ jsonData = null ;
37
37
38
- public function getContent (bool $ throw = true ): string
38
+ final public function getContent (bool $ throw = true ): string
39
39
{
40
40
if ($ this ->initializer ) {
41
41
self ::initialize ($ this );
You can’t perform that action at this time.
0 commit comments