Skip to content

Commit 2107dee

Browse files
hxvondrejmirtes
authored andcommitted
Add ArrayObject to NormalizerInterface::normalize() return type.
1 parent d0151d0 commit 2107dee

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

stubs/Symfony/Component/Serializer/Normalizer/NormalizerInterface.stub

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22

33
namespace Symfony\Component\Serializer\Normalizer;
44

5+
use ArrayObject;
6+
57
interface NormalizerInterface
68
{
79
/**
810
* @param mixed $object
911
* @param string|null $format
1012
* @param array<mixed> $context
11-
* @return array<mixed>|string|int|float|bool|null
13+
*
14+
* @return array<mixed>|ArrayObject<array-key, mixed>|string|int|float|bool|null
1215
*/
1316
public function normalize($object, $format = null, array $context = []);
1417

0 commit comments

Comments
 (0)