diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-11-07 13:40:30 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-01-02 15:02:28 +0100 |
commit | a372564850cb2f8813c4c3cca67bd1b6cfcdb882 (patch) | |
tree | fc879b783dae0d038c60111b7adbb3b0749c6d09 /lib/private/Preview | |
parent | e4e20bf40ad8ca139655b36a6efa2b1710ae50f0 (diff) | |
download | nextcloud-server-a372564850cb2f8813c4c3cca67bd1b6cfcdb882.tar.gz nextcloud-server-a372564850cb2f8813c4c3cca67bd1b6cfcdb882.zip |
Fix psalm spotted errors with new requirements
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/Preview')
-rw-r--r-- | lib/private/Preview/Office.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Preview/Office.php b/lib/private/Preview/Office.php index 6717584e887..3ba7c5a21a0 100644 --- a/lib/private/Preview/Office.php +++ b/lib/private/Preview/Office.php @@ -71,7 +71,7 @@ abstract class Office extends ProviderV2 { [$dirname, , , $filename] = array_values(pathinfo($absPath)); $pngPreview = $tmpDir . '/' . $filename . '.png'; - $png = new \imagick($pngPreview . '[0]'); + $png = new \Imagick($pngPreview . '[0]'); $png->setImageFormat('jpg'); } catch (\Exception $e) { $this->cleanTmpFiles(); |