Skip to content

Commit 1f8ffd3

Browse files
invariocome-nc
andauthored
Update method to indicate type of value returned
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: invario <67800603+invario@users.noreply.github.com>
1 parent a581ed6 commit 1f8ffd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Preview/Movie.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function isAvailable(FileInfo $file): bool {
4242
return is_string($this->binary);
4343
}
4444

45-
private function connectDirect(File $file) {
45+
private function connectDirect(File $file): string|false {
4646
// Checks for availability to access the video file directly via HTTP/HTTPS.
4747
// Returns a string containing URL if available. Only implemented and tested
4848
// with Amazon S3 currently. In all other cases, return false. ffmpeg

0 commit comments

Comments
 (0)