Code Duplication    Length = 7-8 lines in 2 locations

Imagine/Cache/Resolver/FlysystemResolver.php 1 location

@@ 102-109 (lines=8) @@
99
     *
100
     * @return string The absolute URL of the cached image
101
     */
102
    public function resolve($path, $filter)
103
    {
104
        return sprintf(
105
            '%s/%s',
106
            rtrim($this->webRoot, '/'),
107
            ltrim($this->getFileUrl($path, $filter), '/')
108
        );
109
    }
110
111
    /**
112
     * Stores the content of the given binary.

Imagine/Cache/Resolver/WebPathResolver.php 1 location

@@ 67-73 (lines=7) @@
64
    /**
65
     * {@inheritdoc}
66
     */
67
    public function resolve($path, $filter)
68
    {
69
        return sprintf('%s/%s',
70
            rtrim($this->getBaseUrl(), '/'),
71
            ltrim($this->getFileUrl($path, $filter), '/')
72
        );
73
    }
74
75
    /**
76
     * {@inheritdoc}