mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-01 17:38:38 +00:00
Migrate to constructor promoted properties
This commit is contained in:
parent
4168727f36
commit
1d5674a230
85 changed files with 441 additions and 854 deletions
|
@ -13,17 +13,12 @@ use Wallabag\Redis\Producer as RedisProducer;
|
|||
|
||||
class ChromeController extends BrowserController
|
||||
{
|
||||
private ChromeImport $chromeImport;
|
||||
private Config $craueConfig;
|
||||
private RabbitMqProducer $rabbitMqProducer;
|
||||
private RedisProducer $redisProducer;
|
||||
|
||||
public function __construct(ChromeImport $chromeImport, Config $craueConfig, RabbitMqProducer $rabbitMqProducer, RedisProducer $redisProducer)
|
||||
{
|
||||
$this->chromeImport = $chromeImport;
|
||||
$this->craueConfig = $craueConfig;
|
||||
$this->rabbitMqProducer = $rabbitMqProducer;
|
||||
$this->redisProducer = $redisProducer;
|
||||
public function __construct(
|
||||
private ChromeImport $chromeImport,
|
||||
private Config $craueConfig,
|
||||
private RabbitMqProducer $rabbitMqProducer,
|
||||
private RedisProducer $redisProducer,
|
||||
) {
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue