Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / symfony / serializer / Normalizer / NormalizableInterface.php
index e19fe5ce58576cb2c2829d6667344fb411ff18dc..8542e4f80e1c4c40975b84b5e14ddcf34c65f702 100644 (file)
@@ -28,12 +28,12 @@ interface NormalizableInterface
      * recursively all child objects of the implementor.
      *
      * @param NormalizerInterface $normalizer The normalizer is given so that you
-     *                                        can use it to normalize objects contained within this object.
+     *                                        can use it to normalize objects contained within this object
      * @param string|null         $format     The format is optionally given to be able to normalize differently
-     *                                        based on different output formats.
+     *                                        based on different output formats
      * @param array               $context    Options for normalizing this object
      *
-     * @return array|scalar
+     * @return array|string|int|float|bool
      */
     public function normalize(NormalizerInterface $normalizer, $format = null, array $context = array());
 }