*/
function dispatch() {
// the various namespaces supported by Special:Redirect
- switch( $this->mType ) {
+ switch ( $this->mType ) {
case 'user':
$url = $this->dispatchUser();
break;
'options' => array(),
'default' => current( array_keys( $ns ) ),
);
- foreach( $ns as $n => $m ) {
+ foreach ( $ns as $n => $m ) {
$m = $this->msg( $m )->text();
$a['type']['options'][$m] = $n;
}