Code Duplication    Length = 7-7 lines in 2 locations

src/ProxyClient/Symfony.php 1 location

@@ 76-82 (lines=7) @@
73
    /**
74
     * {@inheritdoc}
75
     */
76
    public function refresh($url, array $headers = [])
77
    {
78
        $headers = array_merge($headers, ['Cache-Control' => 'no-cache']);
79
        $this->queueRequest(self::HTTP_METHOD_REFRESH, $url, $headers);
80
81
        return $this;
82
    }
83
84
    /**
85
     * {@inheritdoc}

src/ProxyClient/Varnish.php 1 location

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