includes/Rest/Handler/MediaLinksHandler.php
Method processDbResults
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function processDbResults( $results ) {
// Using "private" here means an equivalent of the Action API's "anon-public-user-private"
// caching model would be necessary, if caching is ever added to this endpoint.
$performer = $this->getAuthority();
$findTitles = array_map( static function ( $title ) use ( $performer ) {