DX: apply rector rules up to php8.0

This commit is contained in:
2023-04-15 01:05:37 +02:00
parent d8870e906f
commit dde3002100
714 changed files with 2348 additions and 9263 deletions

View File

@@ -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;
}