mirror of
https://github.com/wallabag/wallabag.git
synced 2025-10-05 19:31: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
|
@ -8,11 +8,9 @@ use Doctrine\ORM\Tools\Event\GenerateSchemaEventArgs;
|
|||
|
||||
class SchemaAdapterSubscriber implements EventSubscriber
|
||||
{
|
||||
private string $databaseTablePrefix;
|
||||
|
||||
public function __construct(string $databaseTablePrefix)
|
||||
{
|
||||
$this->databaseTablePrefix = $databaseTablePrefix;
|
||||
public function __construct(
|
||||
private string $databaseTablePrefix,
|
||||
) {
|
||||
}
|
||||
|
||||
public function getSubscribedEvents(): array
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue