Edit File by line
/home/barbar84/www/wp-conte.../plugins/updraftp.../vendor/guzzleht.../psr7/src
File: NoSeekStream.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace GuzzleHttp\Psr7;
[2] Fix | Delete
[3] Fix | Delete
use Psr\Http\Message\StreamInterface;
[4] Fix | Delete
[5] Fix | Delete
/**
[6] Fix | Delete
* Stream decorator that prevents a stream from being seeked.
[7] Fix | Delete
*
[8] Fix | Delete
* @final
[9] Fix | Delete
*/
[10] Fix | Delete
class NoSeekStream implements StreamInterface
[11] Fix | Delete
{
[12] Fix | Delete
use StreamDecoratorTrait;
[13] Fix | Delete
[14] Fix | Delete
public function seek($offset, $whence = SEEK_SET)
[15] Fix | Delete
{
[16] Fix | Delete
throw new \RuntimeException('Cannot seek a NoSeekStream');
[17] Fix | Delete
}
[18] Fix | Delete
[19] Fix | Delete
public function isSeekable()
[20] Fix | Delete
{
[21] Fix | Delete
return false;
[22] Fix | Delete
}
[23] Fix | Delete
}
[24] Fix | Delete
[25] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function