Skip to content

Commit

Permalink
IBX-8711 CR fixes, added return type
Browse files Browse the repository at this point in the history
  • Loading branch information
papcio122 committed Nov 19, 2024
1 parent 7a0287e commit 746950a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Form/Type/Content/ContentFieldType.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function configureOptions(OptionsResolver $resolver)
{
$resolver
->setRequired(['languageCode', 'mainLanguageCode', 'struct'])
->setDefault('struct', static function (Options $options, ?ContentStruct $value) {
->setDefault('struct', static function (Options $options, ?ContentStruct $value): ?ContentStruct {
if ($value !== null) {
return $value;
}
Expand Down

0 comments on commit 746950a

Please sign in to comment.