Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / symfony / serializer / Normalizer / NormalizerInterface.php
index 2779053f741e957ce18828cb5e794f37b5afed2f..5d0e3d14959c6174904b749e6f18ae93bef14f42 100644 (file)
@@ -25,11 +25,11 @@ interface NormalizerInterface
     /**
      * Normalizes an object into a set of arrays/scalars.
      *
-     * @param object $object  object to normalize
-     * @param string $format  format the normalization result will be encoded as
+     * @param object $object  Object to normalize
+     * @param string $format  Format the normalization result will be encoded as
      * @param array  $context Context options for the normalizer
      *
-     * @return array|scalar
+     * @return array|string|int|float|bool
      *
      * @throws InvalidArgumentException   Occurs when the object given is not an attempted type for the normalizer
      * @throws CircularReferenceException Occurs when the normalizer detects a circular reference when no circular