diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-02-24 14:42:55 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-02-24 14:42:55 +0100 |
commit | ebe731f01439d7a632c43a3994f2c0192e501ef0 (patch) | |
tree | 22a1c7741ccd20c9d424f7e580f06abcf730cfa6 /lib/private/Preview/Bundled.php | |
parent | 6da8a6d62adde9b1ed011a7a18d43984cf5a27a8 (diff) | |
download | nextcloud-server-ebe731f01439d7a632c43a3994f2c0192e501ef0.tar.gz nextcloud-server-ebe731f01439d7a632c43a3994f2c0192e501ef0.zip |
Fix typing in OC\Preview
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/Preview/Bundled.php')
-rw-r--r-- | lib/private/Preview/Bundled.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Preview/Bundled.php b/lib/private/Preview/Bundled.php index f026d3259f5..4da2486b76b 100644 --- a/lib/private/Preview/Bundled.php +++ b/lib/private/Preview/Bundled.php @@ -30,7 +30,7 @@ use OCP\IImage; * Extracts a preview from files that embed them in an ZIP archive */ abstract class Bundled extends ProviderV2 { - protected function extractThumbnail(File $file, $path): ?IImage { + protected function extractThumbnail(File $file, string $path): ?IImage { $sourceTmp = \OC::$server->getTempManager()->getTemporaryFile(); $targetTmp = \OC::$server->getTempManager()->getTemporaryFile(); |