@@ -142,7 +142,7 @@ |
||
| 142 | 142 | |
| 143 | 143 | $h = $this->getDimensions()[1]; |
| 144 | 144 | |
| 145 | - $this->side_values = array_values(array_filter($this->side_values, function ($height) use ($h) { |
|
| 145 | + $this->side_values = array_values(array_filter($this->side_values, function($height) use ($h) { |
|
| 146 | 146 | return $height < $h; |
| 147 | 147 | })); |
| 148 | 148 | } |
@@ -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 | } |
@@ -42,7 +42,9 @@ |
||
| 42 | 42 | if (is_dir($dir)) { |
| 43 | 43 | $size = 0; |
| 44 | 44 | foreach (scandir($dir) as $file) { |
| 45 | - if (in_array($file, [".", ".."])) continue; |
|
| 45 | + if (in_array($file, [".", ".."])) { |
|
| 46 | + continue; |
|
| 47 | + } |
|
| 46 | 48 | $filename = $dir . DIRECTORY_SEPARATOR . $file; |
| 47 | 49 | $size += is_file($filename) ? filesize($filename) : static::directorySize($filename); |
| 48 | 50 | } |
@@ -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 | } |
@@ -104,7 +104,7 @@ |
||
| 104 | 104 | return []; |
| 105 | 105 | } |
| 106 | 106 | |
| 107 | - return array_map([$this, 'repToArray'], $this->export->getRepresentations() ); |
|
| 107 | + return array_map([$this, 'repToArray'], $this->export->getRepresentations()); |
|
| 108 | 108 | } |
| 109 | 109 | |
| 110 | 110 | |