Code Duplication    Length = 3-3 lines in 2 locations

web/ckfinder/core/connector/php/vendor/symfony/http-foundation/Response.php 1 location

@@ 347-349 (lines=3) @@
344
        header(sprintf('HTTP/%s %s %s', $this->version, $this->statusCode, $this->statusText), true, $this->statusCode);
345
346
        // cookies
347
        foreach ($this->headers->getCookies() as $cookie) {
348
            setcookie($cookie->getName(), $cookie->getValue(), $cookie->getExpiresTime(), $cookie->getPath(), $cookie->getDomain(), $cookie->isSecure(), $cookie->isHttpOnly());
349
        }
350
351
        return $this;
352
    }

web/ckfinder/core/connector/php/vendor/symfony/http-kernel/Client.php 1 location

@@ 196-198 (lines=3) @@
193
        $headers = $response->headers->all();
194
        if ($response->headers->getCookies()) {
195
            $cookies = array();
196
            foreach ($response->headers->getCookies() as $cookie) {
197
                $cookies[] = new DomCookie($cookie->getName(), $cookie->getValue(), $cookie->getExpiresTime(), $cookie->getPath(), $cookie->getDomain(), $cookie->isSecure(), $cookie->isHttpOnly());
198
            }
199
            $headers['Set-Cookie'] = $cookies;
200
        }
201