1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

Migrate to readonly properties

This commit is contained in:
Yassine Guedidi 2025-04-05 13:59:36 +02:00
parent a107773c11
commit ca018c77e3
71 changed files with 203 additions and 199 deletions

View file

@ -20,10 +20,10 @@ class DownloadImages
private $wallabagUrl;
public function __construct(
private HttpClientInterface $client,
private readonly HttpClientInterface $client,
private $baseFolder,
$wallabagUrl,
private LoggerInterface $logger,
private readonly LoggerInterface $logger,
) {
$this->wallabagUrl = rtrim($wallabagUrl, '/');
$this->mimeTypes = new MimeTypes();