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

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