phpstan fixes

This commit is contained in:
2022-01-27 11:50:26 +01:00
parent 14463dcd38
commit d70f8aa712
2 changed files with 2 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ class CommentEmbeddableDocGenNormalizer implements ContextAwareNormalizerInterfa
$user = $this->userRepository->find($object->getUserId());
return [
'comment' => (string) $object->getComment(),
'comment' => $object->getComment(),
'isNull' => false,
'date' => $this->normalizer->normalize($object->getDate(), $format, array_merge($context, [
'docgen:expects' => DateTime::class,