mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 15:43:51 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -17,14 +17,8 @@ class CustomizeFormEvent extends \Symfony\Component\EventDispatcher\Event
|
||||
{
|
||||
public const NAME = 'chill_main.customize_form';
|
||||
|
||||
protected FormBuilderInterface $builder;
|
||||
|
||||
protected string $type;
|
||||
|
||||
public function __construct(string $type, FormBuilderInterface $builder)
|
||||
public function __construct(protected string $type, protected FormBuilderInterface $builder)
|
||||
{
|
||||
$this->type = $type;
|
||||
$this->builder = $builder;
|
||||
}
|
||||
|
||||
public function getBuilder(): FormBuilderInterface
|
||||
|
Reference in New Issue
Block a user