Skip to content

Commit 50b3ba9

Browse files
minor symfony#31922 [Serializer] Fix DataUriNormalizer docblock & composer suggest section (ogizanagi)
This PR was merged into the 3.4 branch. Discussion ---------- [Serializer] Fix DataUriNormalizer docblock & composer suggest section | Q | A | ------------- | --- | Branch? | 3.4 <!-- see below --> | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | yes/no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | N/A <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | N/A See https://github.com/symfony/symfony/blob/9691519ca46511005bc701ca93c2973923952034/src/Symfony/Component/Serializer/Normalizer/DataUriNormalizer.php#L135-L139 Commits ------- 51b6bd8 [Serializer] Fix DataUriNormalizer docblock & composer suggest section
2 parents 9691519 + 51b6bd8 commit 50b3ba9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Component/Serializer/Normalizer/DataUriNormalizer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class DataUriNormalizer implements NormalizerInterface, DenormalizerInterface
3232
];
3333

3434
/**
35-
* @var MimeTypeGuesserInterface
35+
* @var MimeTypeGuesserInterface|null
3636
*/
3737
private $mimeTypeGuesser;
3838

src/Symfony/Component/Serializer/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"symfony/yaml": "For using the default YAML mapping loader.",
4545
"symfony/config": "For using the XML mapping loader.",
4646
"symfony/property-access": "For using the ObjectNormalizer.",
47-
"symfony/http-foundation": "To use the DataUriNormalizer.",
47+
"symfony/http-foundation": "For using a MIME type guesser within the DataUriNormalizer.",
4848
"doctrine/annotations": "For using the annotation mapping. You will also need doctrine/cache.",
4949
"doctrine/cache": "For using the default cached annotation reader and metadata cache."
5050
},

0 commit comments

Comments
 (0)