From e56828f3e8f70859350cc07e72cc742e7cb0c5de Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Wed, 4 Oct 2023 23:52:11 -0700 Subject: [PATCH] lint: fix php Signed-off-by: Varun Patil --- lib/Db/LivePhoto.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Db/LivePhoto.php b/lib/Db/LivePhoto.php index 87839b269..842e1bb3e 100644 --- a/lib/Db/LivePhoto.php +++ b/lib/Db/LivePhoto.php @@ -92,7 +92,7 @@ public function getLivePhotoId(File $file, array $exif) return 'self__trailer'; } - else if ('image/heic' === $exif['MIMEType']) { + if ('image/heic' === $exif['MIMEType']) { // Samsung HEIC -- no way to get this out yet (DirectoryItemLength is senseless) // The reason this is above the MotionPhotoVideo check is because extracting binary // EXIF fields on the fly is extremely expensive compared to trailer extraction.