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()
7777 $ length = $ this ->end - $ this ->start + 1 ;
7878 fseek ($ this ->stream , $ this ->start );
7979 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 );
8282 }
8383
8484 /**
85- * close curretly opened stream
85+ * close curretly opened stream.
8686 */
8787 private function end ()
8888 {
@@ -97,7 +97,7 @@ private function stream()
9797 {
9898 $ i = $ this ->start ;
9999 set_time_limit (0 );
100- while (!feof ($ this ->stream ) && $ i <= $ this ->end ) {
100+ while (! feof ($ this ->stream ) && $ i <= $ this ->end ) {
101101 $ bytesToRead = $ this ->buffer ;
102102 if (($ i + $ bytesToRead ) > $ this ->end ) {
103103 $ bytesToRead = $ this ->end - $ i + 1 ;
You can’t perform that action at this time.
0 commit comments