protected function mergeChangesArrays($left, $right)
	{
		$return = $left;

		foreach ($right as $type => $changes)
		{
			if (isset($left[$type]))
			{
				$return[$type] = array_merge($right[$type], $left[$type]);
			}
			else
			{
				$return[$type] = $changes;
			}
		}

		return $return;
	}
protected function mergeChangesArrays($left, $right)
	{
		$return = $left;

		foreach ($right as $type => $changes)
		{
			if (isset($left[$type]))
			{
				$return[$type] = array_merge($right[$type], $left[$type]);
			}
			else
			{
				$return[$type] = $changes;
			}
		}

		return $return;
	}
protected function mergeChangesArrays ( $ left , $ right ) { $ return = $ left ; foreach ( $ right as $ type => $ changes ) { if ( isset ( $ left [ $ type ] ) ) { $ return [ $ type ] = array_merge ( $ right [ $ type ] , $ left [ $ type ] ) ; } else { $ return [ $ type ] = $ changes ; } } return $ return ; }
Merges two sets of changes.

@param array $left
@param array $right

@return array
Merges two sets of changes .