@@ -23,7 +23,7 @@ |
||
| 23 | 23 | { |
| 24 | 24 | $this->setVideoCodec($video_codec); |
| 25 | 25 | |
| 26 | - if($audio_codec){ |
|
| 26 | + if ($audio_codec) { |
|
| 27 | 27 | $this->setAudioCodec($audio_codec); |
| 28 | 28 | } |
| 29 | 29 | } |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | { |
| 24 | 24 | $this->setVideoCodec($video_codec); |
| 25 | 25 | |
| 26 | - if($audio_codec){ |
|
| 26 | + if ($audio_codec) { |
|
| 27 | 27 | $this->setAudioCodec($audio_codec); |
| 28 | 28 | } |
| 29 | 29 | } |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | { |
| 24 | 24 | $this->setVideoCodec($video_codec); |
| 25 | 25 | |
| 26 | - if($audio_codec){ |
|
| 26 | + if ($audio_codec) { |
|
| 27 | 27 | $this->setAudioCodec($audio_codec); |
| 28 | 28 | } |
| 29 | 29 | } |
@@ -61,7 +61,6 @@ |
||
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | /** |
| 64 | - |
|
| 65 | 64 | * @return array |
| 66 | 65 | */ |
| 67 | 66 | private function getBaseFilters(): array |
@@ -172,7 +172,7 @@ |
||
| 172 | 172 | */ |
| 173 | 173 | private function sortReps(array &$reps): void |
| 174 | 174 | { |
| 175 | - usort($reps, function (Representation $rep1, Representation $rep2) { |
|
| 175 | + usort($reps, function(Representation $rep1, Representation $rep2) { |
|
| 176 | 176 | $ascending = $rep1->getKiloBitrate() > $rep2->getKiloBitrate(); |
| 177 | 177 | return $this->sort === "asc" ? $ascending : !$ascending; |
| 178 | 178 | }); |