mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-05 18:41:02 +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
|
@ -14,17 +14,12 @@ use Wallabag\Repository\TagRepository;
|
|||
|
||||
class RuleBasedTagger
|
||||
{
|
||||
private $rulerz;
|
||||
private $tagRepository;
|
||||
private $entryRepository;
|
||||
private $logger;
|
||||
|
||||
public function __construct(RulerZ $rulerz, TagRepository $tagRepository, EntryRepository $entryRepository, LoggerInterface $logger)
|
||||
{
|
||||
$this->rulerz = $rulerz;
|
||||
$this->tagRepository = $tagRepository;
|
||||
$this->entryRepository = $entryRepository;
|
||||
$this->logger = $logger;
|
||||
public function __construct(
|
||||
private RulerZ $rulerz,
|
||||
private TagRepository $tagRepository,
|
||||
private EntryRepository $entryRepository,
|
||||
private LoggerInterface $logger,
|
||||
) {
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue