Update lib/private/Preview/Bundled.php

Co-authored-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
Claus-Justus Heine 2022-02-14 23:48:14 +01:00 committed by Simon L
parent b3d8363327
commit 456679c6fb

View file

@ -32,7 +32,7 @@ use OCP\IImage;
abstract class Bundled extends ProviderV2 {
protected function extractThumbnail(File $file, string $path): ?IImage {
if ($file->getSize() == 0) {
if ($file->getSize() === 0) {
return null;
}