mirror of
https://github.com/koel/koel
synced 2024-11-28 06:50:27 +00:00
Apply fixes from StyleCI (#801)
This commit is contained in:
parent
5a4a6367be
commit
24cff9c2a8
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