}
function getStripList() {
- return array( 'gallery', 'display map' /* Used by Maps, see r80025 CR */, '/foo' );
+ return [ 'gallery', 'display map' /* Used by Maps, see r80025 CR */, '/foo' ];
}
public static function provideCases() {
}
$dom = $this->mPreprocessor->preprocessToObj( $wikiText );
- if ( is_callable( array( $dom, 'saveXML' ) ) ) {
+ if ( is_callable( [ $dom, 'saveXML' ] ) ) {
return $dom->saveXML();
} else {
return $this->normalizeXml( $dom->__toString() );