protected function normalizeRequestDiff($diff) {
		if (count($diff) === 1) {
			reset($diff);
			return key($diff);
		}
		
		return array_keys($diff);
	}
protected function normalizeRequestDiff($diff) {
		if (count($diff) === 1) {
			reset($diff);
			return key($diff);
		}
		
		return array_keys($diff);
	}
protected function normalizeRequestDiff ( $ diff ) { if ( count ( $ diff ) === 1 ) { reset ( $ diff ) ; return key ( $ diff ) ; } return array_keys ( $ diff ) ; }
Normalize the difference data

@param  array $diff
@return array | string
Normalize the difference data