mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
Fix type hint
This commit is contained in:
parent
24cff9c2a8
commit
efcb6757d2
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ class PHPStreamer extends Streamer implements DirectStreamerInterface
|
|||
{
|
||||
try {
|
||||
$rangeSet = RangeSet::createFromHeader(get_request_header('Range'));
|
||||
/** @var resource $resource */
|
||||
/** @var Resource $resource */
|
||||
$resource = new FileResource($this->song->path, 'application/octet-stream');
|
||||
(new ResourceServlet($resource))->sendResource($rangeSet);
|
||||
} catch (InvalidRangeHeaderException $e) {
|
||||
|
|
Loading…
Reference in a new issue