diff --git a/app/Services/Streamers/PHPStreamer.php b/app/Services/Streamers/PHPStreamer.php index 59585d5f..e5fe5d88 100644 --- a/app/Services/Streamers/PHPStreamer.php +++ b/app/Services/Streamers/PHPStreamer.php @@ -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) {