Code Duplication    Length = 7-7 lines in 2 locations

src/ProxyClient/Varnish.php 1 location

@@ 146-152 (lines=7) @@
143
    /**
144
     * {@inheritdoc}
145
     */
146
    public function refresh($url, array $headers = [])
147
    {
148
        $headers = array_merge($headers, ['Cache-Control' => 'no-cache']);
149
        $this->queueRequest(self::HTTP_METHOD_REFRESH, $url, $headers);
150
151
        return $this;
152
    }
153
154
    /**
155
     * {@inheritdoc}

src/ProxyClient/Symfony.php 1 location

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