Skip to content

Commit 25cd16f

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: Update messenger.rst Fix supportsNormalization parameters definition
2 parents 81c3950 + b60b22e commit 25cd16f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

messenger.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@ The transport has a number of options:
944944
$container->loadFromExtension('framework', [
945945
'messenger' => [
946946
'transports' => [
947-
'async_priority_high' => 'dsn' => '%env(MESSENGER_TRANSPORT_DSN)%?queue_name=high_priority',
947+
'async_priority_high' => '%env(MESSENGER_TRANSPORT_DSN)%?queue_name=high_priority',
948948
'async_priority_low' => [
949949
'dsn' => '%env(MESSENGER_TRANSPORT_DSN)%',
950950
'options' => [

serializer/custom_normalizer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ to customize the normalized data. To do that, leverage the ``ObjectNormalizer``:
4747
return $data;
4848
}
4949

50-
public function supportsNormalization($data, $format = null)
50+
public function supportsNormalization($data, $format = null, array $context = [])
5151
{
5252
return $data instanceof Topic;
5353
}

0 commit comments

Comments
 (0)