File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/Symfony/Component/HttpClient/Response Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments