File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Symfony/Component/Serializer/Normalizer Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 22
22
interface NormalizerInterface
23
23
{
24
24
/**
25
- * Normalizes an object into a set of arrays/scalars.
25
+ * Normalizes data into a set of arrays/scalars.
26
26
*
27
- * @param mixed $object Object to normalize
27
+ * @param mixed $data Data to normalize
28
28
* @param string|null $format Format the normalization result will be encoded as
29
29
* @param array $context Context options for the normalizer
30
30
*
@@ -36,7 +36,7 @@ interface NormalizerInterface
36
36
* @throws LogicException Occurs when the normalizer is not called in an expected context
37
37
* @throws ExceptionInterface Occurs for all the other cases of errors
38
38
*/
39
- public function normalize (mixed $ object , ?string $ format = null , array $ context = []): array |string |int |float |bool |\ArrayObject |null ;
39
+ public function normalize (mixed $ data , ?string $ format = null , array $ context = []): array |string |int |float |bool |\ArrayObject |null ;
40
40
41
41
/**
42
42
* Checks whether the given class is supported for normalization by this normalizer.
You can’t perform that action at this time.
0 commit comments