Skip to content

Commit

Permalink
Merge pull request #122 from fcastilloes/1.3
Browse files Browse the repository at this point in the history
Fix calls replacement after a runtime call
  • Loading branch information
fcastilloes authored Mar 7, 2022
2 parents 4c9b6f5 + 94c2c92 commit 05b3d40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 0 additions & 4 deletions src/Mapper/CompactTransportMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 05b3d40

Please sign in to comment.