diff --git a/src/Normalizer/NormalizerBase.php b/src/Normalizer/NormalizerBase.php index 687dca3..57ef2c9 100644 --- a/src/Normalizer/NormalizerBase.php +++ b/src/Normalizer/NormalizerBase.php @@ -94,8 +94,8 @@ protected function getNameParts(string $name): array { } return [ - 'given' => $firstName, - 'family' => $lastName, + 'given' => trim($firstName), + 'family' => trim($lastName), ]; } catch (\Exception $e) {