Skip to content

Commit

Permalink
Make use of mandatory content property from schema
Browse files Browse the repository at this point in the history
  • Loading branch information
giorgiosironi committed Jan 10, 2025
1 parent cffe6ec commit cb9bd20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Serializer/ElifeAssessmentNormalizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function denormalize($data, $class, $format = null, array $context = [])
function (array $block) use ($format, $context) {
return $this->denormalizer->denormalize($block, Block::class, $format, $context);
},
$data['content'] ?? []
$data['content']
)
),
$data['doi'] ?? null,
Expand Down

0 comments on commit cb9bd20

Please sign in to comment.