Code Duplication    Length = 7-7 lines in 2 locations

lib/Command/CirclesRemote.php 2 locations

@@ 280-286 (lines=7) @@
277
					. ' is already known with this current identity</info>'
278
				);
279
280
				if ($remoteSignatory->getInstance() !== $stored->getInstance()) {
281
					$this->output->writeln(
282
						'- updating host from ' . $stored->getInstance() . ' to '
283
						. $remoteSignatory->getInstance()
284
					);
285
					$this->remoteStreamService->update($remoteSignatory, RemoteStreamService::UPDATE_INSTANCE);
286
				}
287
				if ($remoteSignatory->getId() !== $stored->getId()) {
288
					$this->output->writeln(
289
						'- updating href/Id from ' . $stored->getId() . ' to '
@@ 287-293 (lines=7) @@
284
					);
285
					$this->remoteStreamService->update($remoteSignatory, RemoteStreamService::UPDATE_INSTANCE);
286
				}
287
				if ($remoteSignatory->getId() !== $stored->getId()) {
288
					$this->output->writeln(
289
						'- updating href/Id from ' . $stored->getId() . ' to '
290
						. $remoteSignatory->getId()
291
					);
292
					$this->remoteStreamService->update($remoteSignatory, RemoteStreamService::UPDATE_HREF);
293
				}
294
295
			} catch (RemoteUidException $e) {
296
				$this->updateRemote($remoteSignatory);