Remove superflouos breaks
authorjoshuaruesweg <ruesweg@woltlab.com>
Wed, 10 Mar 2021 14:11:32 +0000 (15:11 +0100)
committerjoshuaruesweg <ruesweg@woltlab.com>
Tue, 16 Mar 2021 15:19:15 +0000 (16:19 +0100)
wcfsetup/install/files/lib/system/background/job/UnfurlUrlBackgroundJob.class.php

index 78e6e62e3f1c3bdfd230bad581560df9a4cfdafd..1ac75edb853c6d82872474a38b54dd4c8e735b55 100644 (file)
@@ -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;