fix creating a new AccompanyingPeriodWorkEvaluationDocument when replacing the document (the workflow was lost)

This commit is contained in:
2022-05-30 22:43:50 +02:00
parent a4e3ffbe27
commit f92cef02cf
5 changed files with 158 additions and 17 deletions

View File

@@ -35,6 +35,6 @@ final class AccompanyingPeriodOriginNormalizer implements NormalizerInterface
public function supportsNormalization($data, $format = null): bool
{
return $data instanceof Origin && $format === 'json';
return $data instanceof Origin && 'json' === $format;
}
}