Skip to content

Commit ca05603

Browse files
committed
Merge branch '5.1'
* 5.1: Update messenger.rst Fix supportsNormalization parameters definition
2 parents c956e87 + 3e2d875 commit ca05603

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
@@ -962,7 +962,7 @@ The transport has a number of options:
962962
$container->loadFromExtension('framework', [
963963
'messenger' => [
964964
'transports' => [
965-
'async_priority_high' => 'dsn' => '%env(MESSENGER_TRANSPORT_DSN)%?queue_name=high_priority',
965+
'async_priority_high' => '%env(MESSENGER_TRANSPORT_DSN)%?queue_name=high_priority',
966966
'async_priority_low' => [
967967
'dsn' => '%env(MESSENGER_TRANSPORT_DSN)%',
968968
'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)