Code Duplication    Length = 3-6 lines in 2 locations

src/Image/Image.php 2 locations

@@ 591-593 (lines=3) @@
588
            return true;
589
        }
590
591
        if (is_string($this->image) && !str_is('*://*', $this->image) && filemtime($path) < filemtime($this->image)) {
592
            return true;
593
        }
594
595
        if (is_string($this->image) && str_is('*://*', $this->image) && filemtime($path) < app(
596
                'League\Flysystem\MountManager'
@@ 595-600 (lines=6) @@
592
            return true;
593
        }
594
595
        if (is_string($this->image) && str_is('*://*', $this->image) && filemtime($path) < app(
596
                'League\Flysystem\MountManager'
597
            )->getTimestamp($this->image)
598
        ) {
599
            return true;
600
        }
601
602
        if ($this->image instanceof File && filemtime($path) < $this->image->getTimestamp()) {
603
            return true;