foreach ( $this->elements as $elt ) {
array_push( $r, $elt->localName );
}
- return implode( $r, ' ' );
+ return implode( ' ', $r );
}
}
}
);
if ( count( $bad ) > 0 ) {
- $badstr = implode( array_keys( $bad ), ',' );
+ $badstr = implode( ',', array_keys( $bad ) );
throw new ParameterAssertionException(
'$config',
'Balance attempted with sanitization including ' .