Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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‎

Lines changed: 4 additions & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /