summaryrefslogtreecommitdiffstats
path: root/lib/private/Preview/Bundled.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-02-24 14:42:55 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-02-24 14:42:55 +0100
commitebe731f01439d7a632c43a3994f2c0192e501ef0 (patch)
tree22a1c7741ccd20c9d424f7e580f06abcf730cfa6 /lib/private/Preview/Bundled.php
parent6da8a6d62adde9b1ed011a7a18d43984cf5a27a8 (diff)
downloadnextcloud-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.php2
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();