Code Duplication    Length = 3-6 lines in 2 locations

src/Image/Image.php 2 locations

@@ 509-511 (lines=3) @@
506
            return true;
507
        }
508
509
        if (is_string($this->image) && !str_is('*://*', $this->image) && filemtime($path) < filemtime($this->image)) {
510
            return true;
511
        }
512
513
        if (is_string($this->image) && str_is('*://*', $this->image) && filemtime($path) < app(
514
                'League\Flysystem\MountManager'
@@ 513-518 (lines=6) @@
510
            return true;
511
        }
512
513
        if (is_string($this->image) && str_is('*://*', $this->image) && filemtime($path) < app(
514
                'League\Flysystem\MountManager'
515
            )->getTimestamp($this->image)
516
        ) {
517
            return true;
518
        }
519
520
        if ($this->image instanceof File && filemtime($path) < $this->image->getTimestamp()) {
521
            return true;