private function mergeValues($a, $b)
    {
        $x = array();
        $y = array();

        if (is_array($a)) {
            $x = $a;
        }

        foreach ($b as $key => $value) {
            $x[$key] = $value;
        }

        return $x;
    }
private function mergeValues($a, $b)
    {
        $x = array();
        $y = array();

        if (is_array($a)) {
            $x = $a;
        }

        foreach ($b as $key => $value) {
            $x[$key] = $value;
        }

        return $x;
    }
private function mergeValues ( $ a , $ b ) { $ x = array ( ) ; $ y = array ( ) ; if ( is_array ( $ a ) ) { $ x = $ a ; } foreach ( $ b as $ key => $ value ) { $ x [ $ key ] = $ value ; } return $ x ; }
Merges two sets of replacement values.

@param array|object $a The replacement values.
@param array|object $b The replacement values.

@return array The merged values.
Merges two sets of replacement values .