Code Duplication    Length = 3-3 lines in 2 locations

lib/private/App/InfoParser.php 2 locations

@@ 128-130 (lines=3) @@
125
		if (isset($array['repair-steps']['uninstall']['step']) && \is_array($array['repair-steps']['uninstall']['step'])) {
126
			$array['repair-steps']['uninstall'] = $array['repair-steps']['uninstall']['step'];
127
		}
128
		if (isset($array['background-jobs']['job']) && \is_array($array['background-jobs']['job'])) {
129
			$array['background-jobs'] = $array['background-jobs']['job'];
130
		}
131
		if (isset($array['commands']['command']) && \is_array($array['commands']['command'])) {
132
			$array['commands'] = $array['commands']['command'];
133
		}
@@ 131-133 (lines=3) @@
128
		if (isset($array['background-jobs']['job']) && \is_array($array['background-jobs']['job'])) {
129
			$array['background-jobs'] = $array['background-jobs']['job'];
130
		}
131
		if (isset($array['commands']['command']) && \is_array($array['commands']['command'])) {
132
			$array['commands'] = $array['commands']['command'];
133
		}
134
		return $array;
135
	}
136