From 94c2c926a2abc97a15fc0fd76588316aae65d373 Mon Sep 17 00:00:00 2001 From: Fernando Castillo Date: Mon, 7 Mar 2022 10:33:52 +0100 Subject: [PATCH] Fix calls replacement after a runtime call --- CHANGELOG.md | 3 +++ src/Mapper/CompactTransportMapper.php | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a2a793b..420301c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [1.3.11] - 2022-03-07 +- Fix calls replacement after a runtime call + ## [1.3.10] - 2022-03-03 - Added socket log diff --git a/src/Mapper/CompactTransportMapper.php b/src/Mapper/CompactTransportMapper.php index 398cca8..91d7641 100644 --- a/src/Mapper/CompactTransportMapper.php +++ b/src/Mapper/CompactTransportMapper.php @@ -827,10 +827,6 @@ public function replace(Transport $transport, array $replaceData) foreach ($replaceData['C'] ?? [] as $service => $sCalls) { foreach ($sCalls as $version => $vCalls) { foreach ($vCalls as $vCall) { - if (!isset($vCall['D']) || $vCall['D'] === 0) { - continue; - } - if (isset($vCall['g'])) { $call = new RemoteCall( new ServiceOrigin($service, $version),