[Serializer] Fix DataUriNormalizer docblock & composer suggest section
authorMaxime Steinhausser <maxime.steinhausser@elao.com>
Fri, 7 Jun 2019 08:45:31 +0000 (10:45 +0200)
committerMaxime Steinhausser <maxime.steinhausser@elao.com>
Fri, 7 Jun 2019 08:45:31 +0000 (10:45 +0200)
src/Symfony/Component/Serializer/Normalizer/DataUriNormalizer.php
src/Symfony/Component/Serializer/composer.json

index 0284ca6..185b44b 100644 (file)
@@ -32,7 +32,7 @@ class DataUriNormalizer implements NormalizerInterface, DenormalizerInterface
     ];
 
     /**
-     * @var MimeTypeGuesserInterface
+     * @var MimeTypeGuesserInterface|null
      */
     private $mimeTypeGuesser;
 
index e6282b1..964f1b7 100644 (file)
@@ -44,7 +44,7 @@
         "symfony/yaml": "For using the default YAML mapping loader.",
         "symfony/config": "For using the XML mapping loader.",
         "symfony/property-access": "For using the ObjectNormalizer.",
-        "symfony/http-foundation": "To use the DataUriNormalizer.",
+        "symfony/http-foundation": "For using a MIME type guesser within the DataUriNormalizer.",
         "doctrine/annotations": "For using the annotation mapping. You will also need doctrine/cache.",
         "doctrine/cache": "For using the default cached annotation reader and metadata cache."
     },