Skip to content
Snippets Groups Projects
Commit 0652267b authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

fix a typo

denormalize is writing, looks like a copy paste issue
parent 119f3499
No related branches found
No related tags found
No related merge requests found
Pipeline #232451 passed
...@@ -160,7 +160,7 @@ abstract class AbstractAuthorizationService implements ContextAwareNormalizerInt ...@@ -160,7 +160,7 @@ abstract class AbstractAuthorizationService implements ContextAwareNormalizerInt
public function denormalize($data, string $type, string $format = null, array $context = []) public function denormalize($data, string $type, string $format = null, array $context = [])
{ {
$entityClassName = $type; $entityClassName = $type;
$mapEntry = $this->entityClassNameToReadAttributeNamesMapping[$entityClassName]; $mapEntry = $this->entityClassNameToWriteAttributeNamesMapping[$entityClassName];
$entityShortName = $mapEntry[self::ENTITY_SHORT_NAME_KEY]; $entityShortName = $mapEntry[self::ENTITY_SHORT_NAME_KEY];
foreach ($mapEntry[self::ENTITY_ATTRIBUTE_NAMES_KEY] as $attributeName) { foreach ($mapEntry[self::ENTITY_ATTRIBUTE_NAMES_KEY] as $attributeName) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment