Completed
Pull Request — develop (#10)
by
unknown
11:47
created
Parser.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
             if (preg_match('/^#EXT-X-BYTERANGE:(\d+)(@(\d+))?$/', $line, $matches)) {
109 109
                 $data['playlist'][$mediaSequence]['byteRangeLength'] = (int) $matches[1];
110 110
                 if (isset($matches[3])) {
111
-                  $data['playlist'][$mediaSequence]['byteRangeOffset'] = (int) $matches[3];
111
+                    $data['playlist'][$mediaSequence]['byteRangeOffset'] = (int) $matches[3];
112 112
                 }
113 113
                 continue;
114 114
             }
Please login to merge, or discard this patch.
M3u8/MediaSegment.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@
 block discarded – undo
28 28
         $this->isDiscontinuity = $isDiscontinuity;
29 29
         $this->title = $title;
30 30
         $this->byterange = \SplFixedArray::fromArray(
31
-          array($byteRangeLength,
32
-          is_null($byteRangeLength) ? null : $byteRangeOffset),
33
-          false);
31
+            array($byteRangeLength,
32
+            is_null($byteRangeLength) ? null : $byteRangeOffset),
33
+            false);
34 34
     }
35 35
 
36 36
     public function getUri()
Please login to merge, or discard this patch.
Dumper.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,12 +38,12 @@
 block discarded – undo
38 38
             }
39 39
 
40 40
             if (!is_null($mediaSegment->getByterangeFixed()[0])) {
41
-              $lines[] = sprintf(
41
+                $lines[] = sprintf(
42 42
                 '#EXT-X-BYTERANGE:%d%s%d', 
43 43
                 $mediaSegment->getByteRangeFixed()[0],
44 44
                 is_null($mediaSegment->getByteRangeFixed()[1]) ? null : '@',
45 45
                 $mediaSegment->getByteRangeFixed()[1]
46
-              );
46
+                );
47 47
 
48 48
             }
49 49
 
Please login to merge, or discard this patch.