Skip to content

Commit 53ffb6e

Browse files
committed
Replaced constructor with owned method createMessage() in DbalContext.
1 parent f6bbf6c commit 53ffb6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/dbal/DbalContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public function createSubscriptionConsumer(): SubscriptionConsumer
133133
*/
134134
public function convertMessage(array $dbalMessage): DbalMessage
135135
{
136-
$dbalMessageObj = new DbalMessage(
136+
$dbalMessageObj = $this->createMessage(
137137
$dbalMessage['body'],
138138
$dbalMessage['properties'] ? JSON::decode($dbalMessage['properties']) : [],
139139
$dbalMessage['headers'] ? JSON::decode($dbalMessage['headers']) : []

0 commit comments

Comments
 (0)