location: fix code style with phpstan

This commit is contained in:
nobohan
2021-11-25 16:10:08 +01:00
parent 3f35f0e251
commit 36c57511e8
4 changed files with 47 additions and 41 deletions

View File

@@ -73,15 +73,16 @@ final class LocationTypeType extends AbstractType
]
)
->add(
'defaultFor',
'defaultFor',
ChoiceType::class,
[
'choices' => [
'none' => null,
'person' => LocationType::DEFAULT_FOR_PERSON,
'thirdparty' => LocationType::DEFAULT_FOR_3PARTY,
],
'expanded' => true
]);
[
'choices' => [
'none' => null,
'person' => LocationType::DEFAULT_FOR_PERSON,
'thirdparty' => LocationType::DEFAULT_FOR_3PARTY,
],
'expanded' => true,
]
);
}
}