mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-08 15:54:59 +00:00
apply rector rules
This commit is contained in:
@@ -22,7 +22,7 @@ use Symfony\Component\OptionsResolver\OptionsResolver;
|
||||
*/
|
||||
class ChoiceWithOtherType extends AbstractType
|
||||
{
|
||||
private $otherValueLabel = 'Other value';
|
||||
private string $otherValueLabel = 'Other value';
|
||||
|
||||
/** (non-PHPdoc).
|
||||
* @see \Symfony\Component\Form\AbstractType::buildForm()
|
||||
|
@@ -32,19 +32,15 @@ class LinkedCustomFieldsType extends AbstractType
|
||||
* The name for the choice field.
|
||||
*
|
||||
* Extracted from builder::getName
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
private $choiceName = 'choice';
|
||||
private string $choiceName = 'choice';
|
||||
|
||||
/**
|
||||
* the option of the form.
|
||||
*
|
||||
* @internal options are stored at the class level to be reused by appendChoice, after data are setted
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
private $options = [];
|
||||
private array $options = [];
|
||||
|
||||
public function __construct(private readonly TranslatableStringHelper $translatableStringHelper)
|
||||
{
|
||||
|
Reference in New Issue
Block a user