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:
parent
a107773c11
commit
ca018c77e3
71 changed files with 203 additions and 199 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue