protected static function simpleMerge(string $base, string $remote, string $local)
    {
        // Skip complex merging if there is nothing to do.
        if ($base == $remote) {
            return $local;
        }
        if ($base == $local) {
            return $remote;
        }
        if ($remote == $local) {
            return $remote;
        }
        // Return nothing and let sub-classes deal with it.
        return null;
    }
protected static function simpleMerge(string $base, string $remote, string $local)
    {
        // Skip complex merging if there is nothing to do.
        if ($base == $remote) {
            return $local;
        }
        if ($base == $local) {
            return $remote;
        }
        if ($remote == $local) {
            return $remote;
        }
        // Return nothing and let sub-classes deal with it.
        return null;
    }
protected static function simpleMerge ( string $ base , string $ remote , string $ local ) { // Skip complex merging if there is nothing to do. if ( $ base == $ remote ) { return $ local ; } if ( $ base == $ local ) { return $ remote ; } if ( $ remote == $ local ) { return $ remote ; } // Return nothing and let sub-classes deal with it. return null ; }
Merge obvious cases when only one text changes..

@param string $base
The original text.
@param string $remote
The first variant text.
@param string $local
The second variant text.

@return string|null
The merge result or null if the merge is not obvious.
Merge obvious cases when only one text changes ..