🔧
This commit is contained in:
@@ -21,11 +21,9 @@ use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||
*/
|
||||
class AddEventAliasesPass implements CompilerPassInterface
|
||||
{
|
||||
private array $eventAliases;
|
||||
|
||||
public function __construct(array $eventAliases)
|
||||
{
|
||||
$this->eventAliases = $eventAliases;
|
||||
public function __construct(
|
||||
private array $eventAliases,
|
||||
) {
|
||||
}
|
||||
|
||||
public function process(ContainerBuilder $container): void
|
||||
|
||||
Reference in New Issue
Block a user