|
73 | 73 | // Normalizer
|
74 | 74 | ->set('serializer.normalizer.constraint_violation_list', ConstraintViolationListNormalizer::class)
|
75 | 75 | ->args([[], service('serializer.name_converter.metadata_aware')])
|
76 |
| - ->tag('serializer.normalizer', ['priority' => '-915']) |
| 76 | + ->tag('serializer.normalizer', ['priority' => -915]) |
77 | 77 |
|
78 | 78 | ->set('serializer.normalizer.datetimezone', DateTimeZoneNormalizer::class)
|
79 |
| - ->tag('serializer.normalizer', ['priority' => '-915']) |
| 79 | + ->tag('serializer.normalizer', ['priority' => -915]) |
80 | 80 |
|
81 | 81 | ->set('serializer.normalizer.dateinterval', DateIntervalNormalizer::class)
|
82 |
| - ->tag('serializer.normalizer', ['priority' => '-915']) |
| 82 | + ->tag('serializer.normalizer', ['priority' => -915]) |
83 | 83 |
|
84 | 84 | ->set('serializer.normalizer.data_uri', DataUriNormalizer::class)
|
85 | 85 | ->args([service('mime_types')->nullOnInvalid()])
|
86 |
| - ->tag('serializer.normalizer', ['priority' => '-920']) |
| 86 | + ->tag('serializer.normalizer', ['priority' => -920]) |
87 | 87 |
|
88 | 88 | ->set('serializer.normalizer.datetime', DateTimeNormalizer::class)
|
89 |
| - ->tag('serializer.normalizer', ['priority' => '-910']) |
| 89 | + ->tag('serializer.normalizer', ['priority' => -910]) |
90 | 90 |
|
91 | 91 | ->set('serializer.normalizer.json_serializable', JsonSerializableNormalizer::class)
|
92 |
| - ->tag('serializer.normalizer', ['priority' => '-900']) |
| 92 | + ->tag('serializer.normalizer', ['priority' => -900]) |
93 | 93 |
|
94 | 94 | ->set('serializer.normalizer.problem', ProblemNormalizer::class)
|
95 | 95 | <
FCCD
code class="diff-text syntax-highlighted-line"> ->args([param('kernel.debug')]) |
96 |
| - ->tag('serializer.normalizer', ['priority' => '-890']) |
| 96 | + ->tag('serializer.normalizer', ['priority' => -890]) |
97 | 97 |
|
98 | 98 | ->set('serializer.denormalizer.unwrapping', UnwrappingDenormalizer::class)
|
99 | 99 | ->args([service('serializer.property_accessor')])
|
100 |
| - ->tag('serializer.normalizer', ['priority' => '1000']) |
| 100 | + ->tag('serializer.normalizer', ['priority' => 1000]) |
101 | 101 |
|
102 | 102 | ->set('serializer.normalizer.object', ObjectNormalizer::class)
|
103 | 103 | ->args([
|
|
109 | 109 | null,
|
110 | 110 | [],
|
111 | 111 | ])
|
112 |
| - ->tag('serializer.normalizer', ['priority' => '-1000']) |
| 112 | + ->tag('serializer.normalizer', ['priority' => -1000]) |
113 | 113 |
|
114 | 114 | ->alias(ObjectNormalizer::class, 'serializer.normalizer.object')
|
115 | 115 |
|
116 | 116 | ->set('serializer.denormalizer.array', ArrayDenormalizer::class)
|
117 |
| - ->tag('serializer.normalizer', ['priority' => '-990']) |
| 117 | + ->tag('serializer.normalizer', ['priority' => -990]) |
118 | 118 |
|
119 | 119 | // Loader
|
120 | 120 | ->set('serializer.mapping.chain_loader', LoaderChain::class)
|
|
164 | 164 | // PropertyInfo extractor
|
165 | 165 | ->set('property_info.serializer_extractor', SerializerExtractor::class)
|
166 | 166 | ->args([service('serializer.mapping.class_metadata_factory')])
|
167 |
| - ->tag('property_info.list_extractor', ['priority' => '-999']) |
| 167 | + ->tag('property_info.list_extractor', ['priority' => -999]) |
168 | 168 |
|
169 | 169 | // ErrorRenderer integration
|
170 | 170 | ->alias('error_renderer', 'error_renderer.serializer')
|
|
0 commit comments