Code Duplication    Length = 7-7 lines in 2 locations

src/ProxyClient/Symfony.php 1 location

@@ 45-51 (lines=7) @@
42
    /**
43
     * {@inheritdoc}
44
     */
45
    public function refresh($url, array $headers = [])
46
    {
47
        $headers = array_merge($headers, ['Cache-Control' => 'no-cache']);
48
        $this->queueRequest(self::HTTP_METHOD_REFRESH, $url, $headers);
49
50
        return $this;
51
    }
52
53
    protected function getDefaultOptions()
54
    {

src/ProxyClient/Varnish.php 1 location

@@ 154-160 (lines=7) @@
151
    /**
152
     * {@inheritdoc}
153
     */
154
    public function refresh($url, array $headers = [])
155
    {
156
        $headers = array_merge($headers, ['Cache-Control' => 'no-cache']);
157
        $this->queueRequest(self::HTTP_METHOD_REFRESH, $url, $headers);
158
159
        return $this;
160
    }
161
162
    /**
163
     * {@inheritdoc}