Showing 2,096 of 2,096 total issues
Avoid too many return
statements within this method. Open
Open
return [
'factor' => $unit['si'],
'unit' => $unit['siUnit'],
// These two are just for humans, not used by actual converter
'label' => $unit['unitLabel'],
Avoid too many return
statements within this method. Open
Open
return $summary;
Avoid too many return
statements within this method. Open
Open
return $this->status;
Avoid too many return
statements within this method. Open
Open
return $this->status;
Avoid too many return
statements within this method. Open
Open
return new ValidationError(
self::CODE_BADGE_NOT_ALLOWED,
[ self::CONTEXT_VALUE => $e->getBadge(), self::CONTEXT_SITE_ID => $siteId ]
);
Avoid too many return
statements within this method. Open
Open
return $this->checkSitelinkConflict( $itemId, $this->deserializedSitelink );
Avoid too many return
statements within this method. Open
Open
return $patchedLatest;
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return $this->termsEditSummaryConverter->convertDescriptionsEditSummary( $editSummary );
Avoid too many return
statements within this method. Open
Open
return $this->termsEditSummaryConverter->convertAliasesEditSummary( $editSummary );
Avoid too many return
statements within this method. Open
Open
return new ValidationError( self::CODE_TITLE_NOT_FOUND, [ self::CONTEXT_SITE_ID => $siteId ] );
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return $summary;
Avoid too many return
statements within this method. Open
Open
return $this->status;
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return $this->handleStatementEditSummary( $editSummary );
Avoid too many return
statements within this method. Open
Open
return $thisHolder->getEntity()->equals( $thatHolder->getEntity() );
Avoid too many return
statements within this method. Open
Open
return $patchedCurrent;
Avoid too many return
statements within this method. Open
Open
return $this->handleDescriptionEditSummary( $editSummary );