Merge "Avoid 'finally' clause in AbuseFilterParser::parseDetailed"

This commit is contained in:
jenkins-bot 2020-12-19 15:13:13 +00:00 committed by Gerrit Code Review
commit 4ef41d3844

View file

@ -407,9 +407,8 @@ class AbuseFilterParser extends AFPTransitionBase {
$res = $this->parse( $code );
} catch ( AFPException $excep ) {
$res = false;
} finally {
return new ParserStatus( $res, $this->fromCache, $excep, $this->warnings );
}
return new ParserStatus( $res, $this->fromCache, $excep, $this->warnings );
}
/**