mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-07 04:38:34 +00:00
fix cs
This commit is contained in:
@@ -112,7 +112,6 @@ class ActivityReasonCategoryController extends AbstractController
|
||||
* Creates a form to create a ActivityReasonCategory entity.
|
||||
*
|
||||
* @param ActivityReasonCategory $entity The entity
|
||||
*
|
||||
*/
|
||||
private function createCreateForm(ActivityReasonCategory $entity): FormInterface
|
||||
{
|
||||
@@ -130,7 +129,6 @@ class ActivityReasonCategoryController extends AbstractController
|
||||
* Creates a form to edit a ActivityReasonCategory entity.
|
||||
*
|
||||
* @param ActivityReasonCategory $entity The entity
|
||||
*
|
||||
*/
|
||||
private function createEditForm(ActivityReasonCategory $entity): FormInterface
|
||||
{
|
||||
|
||||
@@ -321,7 +321,7 @@ class CustomFieldsGroupController extends AbstractController
|
||||
*
|
||||
* @param CustomFieldsGroup $entity The entity
|
||||
*
|
||||
* @return \Symfony\Component\Form\FormInterface The form
|
||||
* @return FormInterface The form
|
||||
*/
|
||||
private function createCreateForm(CustomFieldsGroup $entity)
|
||||
{
|
||||
|
||||
@@ -218,12 +218,12 @@ class PersonJsonNormalizer implements DenormalizerAwareInterface, NormalizerAwar
|
||||
$context
|
||||
),
|
||||
'altNames' => $this->normalizeAltNames($person->getAltNames()),
|
||||
'current_household_id' => $household !== null ?
|
||||
'current_household_id' => null !== $household ?
|
||||
$this->normalizer->normalize($household->getId(), $format, $context) :
|
||||
null,
|
||||
'current_residential_addresses' => $currentResidentialAddresses !== [] ?
|
||||
'current_residential_addresses' => [] !== $currentResidentialAddresses ?
|
||||
$this->normalizer->normalize($currentResidentialAddresses, $format, $context) :
|
||||
null
|
||||
null,
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user