Change-Id: I4fde14245ac19716957beb634a274c3a6042d776
if ( is_numeric( $k ) ) {
$msg .= " $v\n";
} else {
if ( is_numeric( $k ) ) {
$msg .= " $v\n";
} else {
if ( is_array( $v ) ) {
$msgExample = implode( "\n", array_map( array( $this, 'indentExampleText' ), $v ) );
} else {
$msgExample = " $v";
}
if ( is_array( $v ) ) {
$msgExample = implode( "\n", array_map( array( $this, 'indentExampleText' ), $v ) );
} else {
$msgExample = " $v";
}
$msg .= wordwrap( $msgExample, 100, "\n" ) . "\n $k\n";
}
}
$msg .= wordwrap( $msgExample, 100, "\n" ) . "\n $k\n";
}
}