Showing 691 of 718 total issues
Avoid too many return
statements within this method. Open
Open
return Status::newFatal(
"Replacement index was expected to be a real index: {$replacement}"
);
Avoid too many return
statements within this method. Open
Open
return new NestedIndexField( $name, $type, $this->searchConfig );
Avoid too many return
statements within this method. Open
Open
return new IntegerIndexField( $name, $type, $this->searchConfig );
Avoid too many return
statements within this method. Open
Open
return $this->updateIndices( $add, $remove );
Avoid too many return
statements within this method. Open
Open
return $status;
Avoid too many return
statements within this method. Open
Open
return $status;
Avoid too many return
statements within this method. Open
Open
return $nonLocalCache;
Avoid too many return
statements within this method. Open
Open
return;
Avoid too many return
statements within this method. Open
Open
return self::isSameString( $maybeDisplayTitle, $titleText )
? null
: $maybeDisplayTitle;
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return $maybeDisplayTitle;
Avoid too many return
statements within this method. Open
Open
return array_values( array_unique(
// @phan-suppress-next-line PhanCoalescingNeverNull
array_merge( $ns, $this->requiredNamespaces, $additionalRequiredNamespaces ?? [] ),
SORT_REGULAR
) );
Avoid too many return
statements within this method. Open
Open
return $this->failure( $e, $connection );
Avoid too many return
statements within this method. Open
Open
return;
Avoid too many return
statements within this method. Open
Open
return [
'escaped' => self::switchSearchToExactForWildcards( $searchContext, $term ),
'nonAll' => self::switchSearchToExactForWildcards( $searchContext, $term )
];
Avoid too many return
statements within this method. Open
Open
return $this->success( $resultsTransformer !== null ? $resultsTransformer( $multiResultSet ) : $multiResultSet, $connection );
Avoid too many return
statements within this method. Open
Open
return [];
Avoid too many return
statements within this method. Open
Open
return $siz + strlen( $str );
Avoid too many return
statements within this method. Open
Open
return $clean;