protected function getKeyString()
    {
        $expected = $this->expected;
        $keys = '';
        $tail = array_pop($expected);

        if (!empty($expected)) {
            $keys = implode('","', $expected) . '", and "';
        }

        $keys .= $tail;

        return $keys;
    }
protected function getKeyString()
    {
        $expected = $this->expected;
        $keys = '';
        $tail = array_pop($expected);

        if (!empty($expected)) {
            $keys = implode('","', $expected) . '", and "';
        }

        $keys .= $tail;

        return $keys;
    }
protected function getKeyString ( ) { $ expected = $ this -> expected ; $ keys = '' ; $ tail = array_pop ( $ expected ) ; if ( ! empty ( $ expected ) ) { $ keys = implode ( '","' , $ expected ) . '", and "' ; } $ keys .= $ tail ; return $ keys ; }
Returns a formatted string of expected keys.

@return string keys
Returns a formatted string of expected keys .