@@ -130,7 +130,7 @@ |
||
130 | 130 | $info = $this->info($file); |
131 | 131 | if (is_array($info)) { |
132 | 132 | $duration = $this->timestamp(explode('.', $info['format']['duration'])[0]); |
133 | - $interval = (int)round($duration / $count); |
|
133 | + $interval = (int) round($duration / $count); |
|
134 | 134 | } |
135 | 135 | } |
136 | 136 |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | { |
103 | 103 | $data = $this->runCmd('get_' . ($encoders ? 'encoders' : 'decoders'), [$this->config['ffmpeg_path']]); |
104 | 104 | return array_map( |
105 | - function ($key, $type) use ($data) { |
|
105 | + function($key, $type) use ($data) { |
|
106 | 106 | $result = []; |
107 | 107 | return $result[$type === 'A' ? 'audio' : 'video'][] = $data['format'][$key]; |
108 | 108 | }, array_keys($data['type']), $data['type'] |
@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | if ($isDate) { |
164 | 164 | $time = explode(':', $time); |
165 | 165 | |
166 | - return ($time[0] * 3600) + ($time[1] * 60) + (int)$time[2]; |
|
166 | + return ($time[0] * 3600) + ($time[1] * 60) + (int) $time[2]; |
|
167 | 167 | } |
168 | 168 | |
169 | 169 | return gmdate('H:i:s', mktime(0, 0, $time)); |