Start catch blocks on the same line as the preceding }

Change-Id: Ib3761884bc2ec14640f6e649ca7a704c9cea83ca
This commit is contained in:
DannyS712 2022-06-23 00:22:59 +00:00
parent 2e630542ab
commit 8328544d9c
4 changed files with 4 additions and 8 deletions

View file

@ -61,8 +61,7 @@ class RestbaseChecker extends BaseChecker {
}
try {
$host = $this->restbaseInterface->getUrl( '' );
}
catch ( Exception $ignore ) {
} catch ( Exception $ignore ) {
$host = 'invalid';
}
return $this->errorObjectToMessage( $err, $host );

View file

@ -94,8 +94,7 @@ class MathMathMLCli extends MathMathML {
case '-':
// we do not know any cases that triggers this error
}
}
catch ( Exception $e ) {
} catch ( Exception $e ) {
// use default error message
}

View file

@ -712,8 +712,7 @@ abstract class MathRenderer {
$this->texSecure = true;
return true;
}
}
catch ( MWException $e ) {
} catch ( MWException $e ) {
}
$checkerError = $checker->getError();
$this->lastError = $this->getError( $checkerError->getKey(), ...$checkerError->getParams() );

View file

@ -82,8 +82,7 @@ class MathRestbaseInterface {
try {
$mml = $rbi->evaluateContentResponse( 'mml', $results[$j], $requests[$j] );
$rbi->mml = $mml;
}
catch ( Exception $e ) {
} catch ( Exception $e ) {
}
$j++;
}