repo/includes/Store/Sql/WikiPageEntityRedirectLookup.php
Method getRedirectForEntityId
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getRedirectForEntityId( EntityId $entityId, $forUpdate = '' ) {
try {
$title = $this->entityTitleLookup->getTitleForId( $entityId );
} catch ( \Exception $ex ) {
// TODO: Catch more specific type of exception once EntityTitleStoreLookup contract is clarified