Code Duplication    Length = 3-6 lines in 2 locations

src/Image/Image.php 2 locations

@@ 523-525 (lines=3) @@
520
            return true;
521
        }
522
523
        if (is_string($this->image) && !str_is('*://*', $this->image) && filemtime($path) < filemtime($this->image)) {
524
            return true;
525
        }
526
527
        if (is_string($this->image) && str_is('*://*', $this->image) && filemtime($path) < app(
528
                'League\Flysystem\MountManager'
@@ 527-532 (lines=6) @@
524
            return true;
525
        }
526
527
        if (is_string($this->image) && str_is('*://*', $this->image) && filemtime($path) < app(
528
                'League\Flysystem\MountManager'
529
            )->getTimestamp($this->image)
530
        ) {
531
            return true;
532
        }
533
534
        if ($this->image instanceof File && filemtime($path) < $this->image->getTimestamp()) {
535
            return true;