}
}
- return $this->confirmDelete( $reason );
+ $this->confirmDelete( $reason );
}
/**
'</div>';
return true;
}
- return false;
}
/**
* @param $msg String message key
*/
public function setSubmitTextMsg( $msg ) {
- return $this->setSubmitText( $this->msg( $msg )->text() );
+ $this->setSubmitText( $this->msg( $msg )->text() );
}
/**
* @param $msg String message key
*/
public function setWrapperLegendMsg( $msg ) {
- return $this->setWrapperLegend( $this->msg( $msg )->escaped() );
+ $this->setWrapperLegend( $this->msg( $msg )->escaped() );
}
/**
/**
* @param $type string
* @param $sign string ('+' or '-')
- * @return void
+ * @return string
*/
private function getTypeCacheKey( $type, $sign ) {
return wfMemcKey( 'sitestatsupdate', 'pendingdelta', $type, $sign );
/**
* Reduce pending delta counters after updates have been applied
- * @param Array Result of getPendingDeltas(), used for DB update
+ * @param Array $pd Result of getPendingDeltas(), used for DB update
* @return void
*/
protected function removePendingDeltas( array $pd ) {
public function quickEdit( $text, $comment = '', $minor = 0 ) {
wfDeprecated( __METHOD__, '1.18' );
global $wgUser;
- return $this->doQuickEdit( $text, $wgUser, $comment, $minor );
+ $this->doQuickEdit( $text, $wgUser, $comment, $minor );
}
/**