@@ -170,7 +170,7 @@ |
||
| 170 | 170 | */ |
| 171 | 171 | private function call(string $needle, int $period): callable |
| 172 | 172 | { |
| 173 | - return function ($line) use ($needle, $period) { |
|
| 173 | + return function($line) use ($needle, $period) { |
|
| 174 | 174 | if (false !== strpos($line, $needle) && !in_array($line, $this->segments)) { |
| 175 | 175 | array_push($this->segments, $line); |
| 176 | 176 | if (0 === count($this->segments) % $period) { |
@@ -174,7 +174,7 @@ |
||
| 174 | 174 | */ |
| 175 | 175 | private function sortReps(array &$reps): void |
| 176 | 176 | { |
| 177 | - usort($reps, function (Representation $rep1, Representation $rep2) { |
|
| 177 | + usort($reps, function(Representation $rep1, Representation $rep2) { |
|
| 178 | 178 | $ascending = $rep1->getKiloBitrate() > $rep2->getKiloBitrate(); |
| 179 | 179 | return $this->sort ? $ascending : !$ascending; |
| 180 | 180 | }); |
@@ -93,7 +93,7 @@ |
||
| 93 | 93 | */ |
| 94 | 94 | private function getInitFilename(Representation $rep): string |
| 95 | 95 | { |
| 96 | - return $this->seg_sub_dir . $this->filename . "_" . $rep->getHeight() ."p_". $this->hls->getHlsFmp4InitFilename(); |
|
| 96 | + return $this->seg_sub_dir . $this->filename . "_" . $rep->getHeight() . "p_" . $this->hls->getHlsFmp4InitFilename(); |
|
| 97 | 97 | } |
| 98 | 98 | |
| 99 | 99 | /** |