forked from wallabag/wallabag
Migrate to constructor promoted properties
This commit is contained in:
@ -20,11 +20,9 @@ use Wallabag\Repository\EntryRepository;
|
||||
|
||||
class FeedController extends AbstractController
|
||||
{
|
||||
private EntryRepository $entryRepository;
|
||||
|
||||
public function __construct(EntryRepository $entryRepository)
|
||||
{
|
||||
$this->entryRepository = $entryRepository;
|
||||
public function __construct(
|
||||
private EntryRepository $entryRepository,
|
||||
) {
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user