mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-26 17:43:54 +00:00
fix creating a new AccompanyingPeriodWorkEvaluationDocument when replacing the document (the workflow was lost)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user