mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-27 01:53:49 +00:00
docgen: fix title of origin
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;
|
||||
return $data instanceof Origin && $format === 'json';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user