From d840b8472160a7e12a237e26b2809c49921ebf04 Mon Sep 17 00:00:00 2001 From: joshuaruesweg Date: Wed, 10 Mar 2021 15:11:32 +0100 Subject: [PATCH] Remove superflouos breaks --- .../system/background/job/UnfurlUrlBackgroundJob.class.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/lib/system/background/job/UnfurlUrlBackgroundJob.class.php b/wcfsetup/install/files/lib/system/background/job/UnfurlUrlBackgroundJob.class.php index 78e6e62e3f..1ac75edb85 100644 --- a/wcfsetup/install/files/lib/system/background/job/UnfurlUrlBackgroundJob.class.php +++ b/wcfsetup/install/files/lib/system/background/job/UnfurlUrlBackgroundJob.class.php @@ -213,13 +213,12 @@ final class UnfurlUrlBackgroundJob extends AbstractBackgroundJob switch ($imageData[2]) { case \IMAGETYPE_PNG: return 'png'; - break; + case \IMAGETYPE_GIF: return 'gif'; - break; + case \IMAGETYPE_JPEG: return 'jpg'; - break; default: return null; -- 2.20.1