Code Duplication    Length = 9-9 lines in 4 locations

lib/Command/Groups.php 2 locations

@@ 110-118 (lines=9) @@
107
	 *
108
	 * @throws FakeException
109
	 */
110
	private function addLinkedGroups(InputInterface $input, OutputInterface $output) {
111
		if ($input->getOption('link') !== true) {
112
			return;
113
		}
114
115
		list($circleId, $group) = $this->getCircleIdAndGroupFromArguments($input);
116
117
		throw new FakeException();
118
	}
119
120
121
	/**
@@ 127-135 (lines=9) @@
124
	 *
125
	 * @throws FakeException
126
	 */
127
	private function delLinkedGroups(InputInterface $input, OutputInterface $output) {
128
		if ($input->getOption('unlink') !== true) {
129
			return;
130
		}
131
132
		list($circleId, $group) = $this->getCircleIdAndGroupFromArguments($input);
133
134
		throw new FakeException();
135
	}
136
137
138
	private function getCircleIdAndGroupFromArguments(InputInterface $input) {

lib/Command/SyncContact.php 2 locations

@@ 99-107 (lines=9) @@
96
	 *
97
	 * @throws FakeException
98
	 */
99
	private function addLinkedGroups(InputInterface $input, OutputInterface $output) {
100
		if ($input->getOption('link') !== true) {
101
			return;
102
		}
103
104
		list($circleId, $group) = $this->getCircleIdAndGroupFromArguments($input);
105
106
		throw new FakeException();
107
	}
108
109
110
	/**
@@ 116-124 (lines=9) @@
113
	 *
114
	 * @throws FakeException
115
	 */
116
	private function delLinkedGroups(InputInterface $input, OutputInterface $output) {
117
		if ($input->getOption('unlink') !== true) {
118
			return;
119
		}
120
121
		list($circleId, $group) = $this->getCircleIdAndGroupFromArguments($input);
122
123
		throw new FakeException();
124
	}
125
126
127
	private function getCircleIdAndGroupFromArguments(InputInterface $input) {