Code Duplication    Length = 6-6 lines in 2 locations

src/Modules/Extractors/ImageExtractor.php 2 locations

@@ 301-306 (lines=6) @@
298
            return false;
299
        }
300
301
        if ($width > $height) {
302
            $diff = $width / $height;
303
            if ($diff > 5) {
304
                return true;
305
            }
306
        }
307
308
        if ($height > $width) {
309
            $diff = $height / $width;
@@ 308-313 (lines=6) @@
305
            }
306
        }
307
308
        if ($height > $width) {
309
            $diff = $height / $width;
310
            if ($diff > 5) {
311
                return true;
312
            }
313
        }
314
315
        return false;
316
    }