This commit is contained in:
2025-10-30 00:42:35 +01:00
parent d74179f1e1
commit 5634d72d6f
3 changed files with 4 additions and 6 deletions

View File

@@ -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
{

View File

@@ -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)
{

View File

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