Skip to content

Commit

Permalink
ContentUpdateMapper fixup (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
barw4 committed Aug 16, 2023
1 parent 51c3d92 commit ffeaa4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/Data/Mapper/ContentUpdateMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ private function configureOptions(OptionsResolver $optionsResolver)
{
$optionsResolver
->setRequired(['languageCode', 'contentType', 'currentFields'])
->setAllowedTypes('contentType', ContentType::class);
->setAllowedTypes('contentType', ContentType::class)
->setDefault('currentFields', []);
}
}

0 comments on commit ffeaa4d

Please sign in to comment.