Passed
Push — master ( d5a16d...c5da4b )
by John
13:46 queued 14s
created
lib/private/Preview/Movie.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -125,12 +125,12 @@  discard block
 block discarded – undo
125 125
 		$binaryType = substr(strrchr($this->binary, '/'), 1);
126 126
 
127 127
 		if ($binaryType === 'avconv') {
128
-			$cmd = [$this->binary, '-y', '-ss', (string)$second,
128
+			$cmd = [$this->binary, '-y', '-ss', (string) $second,
129 129
 				'-i', $absPath,
130 130
 				'-an', '-f', 'mjpeg', '-vframes', '1', '-vsync', '1',
131 131
 				$tmpPath];
132 132
 		} elseif ($binaryType === 'ffmpeg') {
133
-			$cmd = [$this->binary, '-y', '-ss', (string)$second,
133
+			$cmd = [$this->binary, '-y', '-ss', (string) $second,
134 134
 				'-i', $absPath,
135 135
 				'-f', 'mjpeg', '-vframes', '1',
136 136
 				$tmpPath];
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
 			$stdout = trim(stream_get_contents($pipes[1]));
148 148
 			$stderr = trim(stream_get_contents($pipes[2]));
149 149
 			$returnCode = proc_close($proc);
150
-			$output = $stdout . $stderr;
150
+			$output = $stdout.$stderr;
151 151
 		}
152 152
 
153 153
 		if ($returnCode === 0) {
Please login to merge, or discard this patch.