protected static function select_common_normalize ($in) {
		$has_in    = isset($in['in']);
		$has_value = isset($in['value']);
		if (
			!$has_value && $has_in && is_array($in['in'])
		) {
			$in['value'] = &$in['in'];
		} elseif (
			!$has_in && $has_value && is_array($in['value'])
		) {
			$in['in'] = &$in['value'];
		} elseif (
			(
				!$has_in || !is_array($in['in'])
			) &&
			(
				!$has_value || !is_array($in['value'])
			)
		) {
			$in = [
				'in'    => $in,
				'value' => $in
			];
		}
		return $in;
	}
protected static function select_common_normalize ($in) {
		$has_in    = isset($in['in']);
		$has_value = isset($in['value']);
		if (
			!$has_value && $has_in && is_array($in['in'])
		) {
			$in['value'] = &$in['in'];
		} elseif (
			!$has_in && $has_value && is_array($in['value'])
		) {
			$in['in'] = &$in['value'];
		} elseif (
			(
				!$has_in || !is_array($in['in'])
			) &&
			(
				!$has_value || !is_array($in['value'])
			)
		) {
			$in = [
				'in'    => $in,
				'value' => $in
			];
		}
		return $in;
	}
protected static function select_common_normalize ( $ in ) { $ has_in = isset ( $ in [ 'in' ] ) ; $ has_value = isset ( $ in [ 'value' ] ) ; if ( ! $ has_value && $ has_in && is_array ( $ in [ 'in' ] ) ) { $ in [ 'value' ] = & $ in [ 'in' ] ; } elseif ( ! $ has_in && $ has_value && is_array ( $ in [ 'value' ] ) ) { $ in [ 'in' ] = & $ in [ 'value' ] ; } elseif ( ( ! $ has_in || ! is_array ( $ in [ 'in' ] ) ) && ( ! $ has_value || ! is_array ( $ in [ 'value' ] ) ) ) { $ in = [ 'in' => $ in , 'value' => $ in ] ; } return $ in ; }
Ensures that both `in` and `value` elements are present in array

@param array $in

@return array
Ensures that both in and value elements are present in array