mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-04-09 14:33:44 +00:00
fix misc phpstan issues
This commit is contained in:
@@ -81,8 +81,8 @@ class PersonJsonNormalizer implements NormalizerAwareInterface, NormalizerInterf
|
||||
...$normalizedData,
|
||||
'centers' => $this->normalizer->normalize($this->centerResolverManager->resolveCenters($data), $format, $context),
|
||||
'altNames' => $this->normalizeAltNames($data->getAltNames()),
|
||||
'current_household_id' => $household ? $this->normalizer->normalize($household->getId(), $format, $context) : null,
|
||||
'current_residential_addresses' => $currentResidentialAddresses ? $this->normalizer->normalize($currentResidentialAddresses, $format, $context) : null,
|
||||
'current_household_id' => null !== $household ? $this->normalizer->normalize($household->getId(), $format, $context) : null,
|
||||
'current_residential_addresses' => $this->normalizer->normalize($currentResidentialAddresses, $format, $context),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user