mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-09 08:14:59 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -30,11 +30,6 @@ class UIEvent extends Event
|
||||
*/
|
||||
protected $form;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $kind;
|
||||
|
||||
/**
|
||||
* @var Response|null
|
||||
*/
|
||||
@@ -50,16 +45,15 @@ class UIEvent extends Event
|
||||
*/
|
||||
protected $transition;
|
||||
|
||||
public function __construct($kind, AbstractTask $task)
|
||||
/**
|
||||
* @param string $kind
|
||||
*/
|
||||
public function __construct(protected $kind, AbstractTask $task)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
$this->task = $task;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return FormInterface|null
|
||||
*/
|
||||
public function getForm()
|
||||
public function getForm(): ?\Symfony\Component\Form\FormInterface
|
||||
{
|
||||
return $this->form;
|
||||
}
|
||||
|
Reference in New Issue
Block a user