1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-11 17:51:02 +00:00

Fix direct deprecation notices

This commit is contained in:
Yassine Guedidi 2025-04-02 01:15:17 +02:00
parent 4ab26a1902
commit 412352ff03
4 changed files with 8 additions and 3 deletions

View file

@ -67,6 +67,11 @@ class WallabagClient implements HttpClientInterface
return $this->httpClient->stream($responses, $timeout);
}
public function withOptions(array $options): HttpClientInterface
{
return new self($this->restrictedAccess, $this->browser, $this->authenticator, $this->logger);
}
private function getCookieHeader(string $url): ?string
{
$cookies = [];