Skip to content

Commit 5dc4c1b

Browse files
Clean up some parantheses
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com> Signed-off-by: invario <67800603+invario@users.noreply.github.com>
1 parent fa76668 commit 5dc4c1b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/private/Preview/Movie.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ public function getThumbnail(File $file, int $maxX, int $maxY): ?IImage {
8787
}
8888

8989
// Attempt still image grab from 1 second and 0 second timestamp
90-
$result = ($this->generateThumbNail($maxX, $maxY, $absPath, 1)) ??
91-
($this->generateThumbNail($maxX, $maxY, $absPath, 0));
90+
$result = $this->generateThumbNail($maxX, $maxY, $absPath, 1) ?? $this->generateThumbNail($maxX, $maxY, $absPath, 0);
9291

9392
$this->cleanTmpFiles();
9493

0 commit comments

Comments
 (0)