Code Duplication    Length = 3-6 lines in 2 locations

src/Image/Image.php 2 locations

@@ 574-576 (lines=3) @@
571
            return true;
572
        }
573
574
        if (is_string($this->image) && !str_is('*://*', $this->image) && filemtime($path) < filemtime($this->image)) {
575
            return true;
576
        }
577
578
        if (is_string($this->image) && str_is('*://*', $this->image) && filemtime($path) < app(
579
                'League\Flysystem\MountManager'
@@ 578-583 (lines=6) @@
575
            return true;
576
        }
577
578
        if (is_string($this->image) && str_is('*://*', $this->image) && filemtime($path) < app(
579
                'League\Flysystem\MountManager'
580
            )->getTimestamp($this->image)
581
        ) {
582
            return true;
583
        }
584
585
        if ($this->image instanceof File && filemtime($path) < $this->image->getTimestamp()) {
586
            return true;