Skip to content

Commit bfb9aa2

Browse files
committed
minor fix
1 parent 1081db2 commit bfb9aa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CXml/Processor/Processor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ private function processMessage(Message $message, Context $context): void
103103
*/
104104
private function processResponse(Response $response, Context $context): void
105105
{
106-
$payload = $response->payload;
106+
$payload = $response->payload ?? null;
107107

108108
if (!$payload instanceof ResponsePayloadInterface) {
109109
return;

0 commit comments

Comments
 (0)