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

Appearance settings

Commit 90e24fb

Browse filesBrowse files
Merge branch '5.4' into 6.0
* 5.4: fix merge
2 parents 9de4c0d + 98e6d82 commit 90e24fb
Copy full SHA for 90e24fb

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎src/Symfony/Component/Serializer/Tests/Fixtures/EnvelopedMessageNormalizer.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Serializer/Tests/Fixtures/EnvelopedMessageNormalizer.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
*/
1919
class EnvelopedMessageNormalizer implements NormalizerInterface
2020
{
21-
public function normalize($message, $format = null, array $context = [])
21+
public function normalize($message, string $format = null, array $context = []): array
2222
{
2323
return [
2424
'text' => $message->text,
2525
];
2626
}
2727

28-
public function supportsNormalization($data, $format = null)
28+
public function supportsNormalization($data, string $format = null, array $context = []): bool
2929
{
3030
return $data instanceof EnvelopedMessage;
3131
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.