File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -77,12 +77,12 @@ private function setHeader()
77
77
$ length = $ this ->end - $ this ->start + 1 ;
78
78
fseek ($ this ->stream , $ this ->start );
79
79
header ('HTTP/1.1 206 Partial Content ' );
80
- header ('Content-Length: ' . $ length );
81
- header ("Content-Range: bytes $ this ->start - $ this ->end / " . $ this ->size );
80
+ header ('Content-Length: ' . $ length );
81
+ header ("Content-Range: bytes $ this ->start - $ this ->end / " . $ this ->size );
82
82
}
83
83
84
84
/**
85
- * close curretly opened stream
85
+ * close curretly opened stream.
86
86
*/
87
87
private function end ()
88
88
{
@@ -97,7 +97,7 @@ private function stream()
97
97
{
98
98
$ i = $ this ->start ;
99
99
set_time_limit (0 );
100
- while (!feof ($ this ->stream ) && $ i <= $ this ->end ) {
100
+ while (! feof ($ this ->stream ) && $ i <= $ this ->end ) {
101
101
$ bytesToRead = $ this ->buffer ;
102
102
if (($ i + $ bytesToRead ) > $ this ->end ) {
103
103
$ bytesToRead = $ this ->end - $ i + 1 ;
You can’t perform that action at this time.
0 commit comments