Code Duplication    Length = 3-3 lines in 2 locations

src/Display/Columns/Image.php 1 location

@@ 41-43 (lines=3) @@
38
    public function getValue()
39
    {
40
        $value = parent::getValue();
41
        if (! empty($value) && (strpos($value, '://') === false)) {
42
            $value = $this->getFileUrl($value);
43
        }
44
45
        return [
46
            'image' => $value,

src/Display/Image.php 1 location

@@ 59-61 (lines=3) @@
56
57
    protected function getImageUrl($value)
58
    {
59
        if (! empty($value) && (strpos($value, '://') === false)) {
60
            $value = $this->getFileUrl($value);
61
        }
62
63
        return $value;
64
    }