Code Duplication    Length = 3-6 lines in 2 locations

src/Image/Image.php 2 locations

@@ 534-536 (lines=3) @@
531
            return true;
532
        }
533
534
        if (is_string($this->image) && !str_is('*://*', $this->image) && filemtime($path) < filemtime($this->image)) {
535
            return true;
536
        }
537
538
        if (is_string($this->image) && str_is('*://*', $this->image) && filemtime($path) < app(
539
                'League\Flysystem\MountManager'
@@ 538-543 (lines=6) @@
535
            return true;
536
        }
537
538
        if (is_string($this->image) && str_is('*://*', $this->image) && filemtime($path) < app(
539
                'League\Flysystem\MountManager'
540
            )->getTimestamp($this->image)
541
        ) {
542
            return true;
543
        }
544
545
        if ($this->image instanceof File && filemtime($path) < $this->image->getTimestamp()) {
546
            return true;