Code Duplication    Length = 7-7 lines in 2 locations

lib/Command/CirclesRemote.php 2 locations

@@ 220-226 (lines=7) @@
217
					. ' is already known with this current identity</info>'
218
				);
219
220
				if ($remoteSignatory->getInstance() !== $stored->getInstance()) {
221
					$output->writeln(
222
						'- updating host from ' . $stored->getInstance() . ' to '
223
						. $remoteSignatory->getInstance()
224
					);
225
					$this->remoteService->update($remoteSignatory, RemoteService::UPDATE_INSTANCE);
226
				}
227
				if ($remoteSignatory->getId() !== $stored->getId()) {
228
					$output->writeln(
229
						'- updating href/Id from ' . $stored->getId() . ' to '
@@ 227-233 (lines=7) @@
224
					);
225
					$this->remoteService->update($remoteSignatory, RemoteService::UPDATE_INSTANCE);
226
				}
227
				if ($remoteSignatory->getId() !== $stored->getId()) {
228
					$output->writeln(
229
						'- updating href/Id from ' . $stored->getId() . ' to '
230
						. $remoteSignatory->getId()
231
					);
232
					$this->remoteService->update($remoteSignatory, RemoteService::UPDATE_HREF);
233
				}
234
235
			} catch (RemoteUidException $e) {
236
				$this->updateRemote($input, $output, $remoteSignatory);