Update guzzle to 6.5
This commit is contained in:
parent
bc695cfa15
commit
74db3b9ad0
6 changed files with 144 additions and 86 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
namespace Alltube\Stream;
|
||||
|
||||
use GuzzleHttp\Psr7\Response;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use Psr\Http\Message\StreamInterface;
|
||||
|
||||
/**
|
||||
|
@ -18,16 +18,16 @@ class YoutubeChunkStream implements StreamInterface
|
|||
/**
|
||||
* HTTP response containing the video chunk.
|
||||
*
|
||||
* @var Response
|
||||
* @var ResponseInterface
|
||||
*/
|
||||
private $response;
|
||||
|
||||
/**
|
||||
* YoutubeChunkStream constructor.
|
||||
*
|
||||
* @param Response $response HTTP response containing the video chunk
|
||||
* @param ResponseInterface $response HTTP response containing the video chunk
|
||||
*/
|
||||
public function __construct(Response $response)
|
||||
public function __construct(ResponseInterface $response)
|
||||
{
|
||||
$this->response = $response;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue