Skip to content

Commit

Permalink
Fix PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rjzondervan committed Nov 26, 2024
1 parent d37d6d9 commit f134125
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/Service/SynchronizationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ public function synchronize(Synchronization $synchronization, ?bool $isTest = fa

$objectList = $this->getAllObjectsFromSource(synchronization: $synchronization, isTest: $isTest);

// var_dump(count($objectList));

foreach ($objectList as $key => $object) {
// If the source configuration contains a dot notation for the id position, we need to extract the id from the source object
$originId = $this->getOriginId($synchronization, $object);
Expand Down Expand Up @@ -137,7 +135,7 @@ public function synchronize(Synchronization $synchronization, ?bool $isTest = fa
$this->synchronizationContractMapper->update($synchronizationContract);
}

foreach($synchronization->getFollowUps() as $followUp) {
foreach ($synchronization->getFollowUps() as $followUp) {
$followUpSynchronization = $this->synchronizationMapper->find($followUp);
$this->synchronize($followUpSynchronization, $isTest);
}
Expand Down

0 comments on commit f134125

Please sign in to comment.