Passed
Pull Request — master (#7)
by compolom
13:23 queued 04:47
created
src/Folour/Flavy/Flavy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Folour/Flavy/Extensions/Base.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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));
Please login to merge, or discard this patch.