mirror of
https://github.com/koel/koel
synced 2024-11-10 14:44:13 +00:00
Apply fixes from StyleCI (#797)
This commit is contained in:
parent
3b2f6b9d1c
commit
06b7f7f5ca
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