mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-26 17:43:54 +00:00
upgrade php-cs 3.49
This commit is contained in:
@@ -27,7 +27,7 @@ class PersonChoiceLoader implements ChoiceLoaderInterface
|
||||
|
||||
public function __construct(
|
||||
protected PersonRepository $personRepository,
|
||||
array $centers = null
|
||||
?array $centers = null
|
||||
) {
|
||||
if (null !== $centers) {
|
||||
$this->centers = $centers;
|
||||
|
@@ -154,7 +154,7 @@ class PersonType extends AbstractType
|
||||
'allow_delete' => true,
|
||||
'by_reference' => false,
|
||||
'label' => false,
|
||||
'delete_empty' => static fn (PersonPhone $pp = null) => null === $pp || $pp->isEmpty(),
|
||||
'delete_empty' => static fn (?PersonPhone $pp = null) => null === $pp || $pp->isEmpty(),
|
||||
'error_bubbling' => false,
|
||||
'empty_collection_explain' => 'No additional phone numbers',
|
||||
]);
|
||||
|
Reference in New Issue
Block a user