Remove trailing whitespace
if ( isset( $p[ApiBase::PARAM_DEPRECATED] ) && $p[ApiBase::PARAM_DEPRECATED] ) {
$a['deprecated'] = '';
}
if ( isset( $p[ApiBase::PARAM_DEPRECATED] ) && $p[ApiBase::PARAM_DEPRECATED] ) {
$a['deprecated'] = '';
}
if ( isset( $p[ApiBase::PARAM_REQUIRED] ) && $p[ApiBase::PARAM_REQUIRED] ) {
$a['required'] = '';
}
if ( isset( $p[ApiBase::PARAM_REQUIRED] ) && $p[ApiBase::PARAM_REQUIRED] ) {
$a['required'] = '';
}
if ( !is_array( $p ) ) {
if ( is_bool( $p ) ) {
$a['type'] = 'bool';
if ( !is_array( $p ) ) {
if ( is_bool( $p ) ) {
$a['type'] = 'bool';
}
public function getPossibleErrors() {
}
public function getPossibleErrors() {
- return array_merge( parent::getPossibleErrors(), array(
- array( 'missingparam', 'user' ),
- ) );
+ return parent::getPossibleErrors();
}
public function getTokenSalt() {
}
public function getTokenSalt() {