Allow yii-runner-http 3.0 #115
Annotations
1 warning
Run roave infection.:
src/ResponseAccessor.php#L19
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
public function getContent() : string
{
$stream = $this->response->getBody();
- $stream->rewind();
+
return $stream->getContents();
}
public function getContentAsJson(int $flags = JSON_OBJECT_AS_ARRAY | JSON_THROW_ON_ERROR | JSON_UNESCAPED_UNICODE) : mixed
|
Loading