Showing 3,235 of 4,503 total issues
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return 0;
Avoid too many return
statements within this method. Open
Open
return 0;
Avoid too many return
statements within this method. Open
Open
return $user;
Avoid too many return
statements within this method. Open
Open
return self::ERROR_UP_TO_DATE;
Avoid too many return
statements within this method. Open
Open
return 0;
Avoid too many return
statements within this method. Open
Open
return 1;
Avoid too many return
statements within this method. Open
Open
return 1;
Avoid too many return
statements within this method. Open
Open
return new DataResponse([
'uri' => $uri]);
Avoid too many return
statements within this method. Open
Open
return new DataResponse([
'file_id' => (string)$newFile->getId()]);
Avoid too many return
statements within this method. Open
Open
return new DataResponse(
['data' => ['message' => $this->l->t('Image too large')]],
Http::STATUS_OK,
$headers
);
Avoid too many return
statements within this method. Open
Open
return new DataResponse(
['data' => ['message' => $this->l->t('Invalid image')]],
Http::STATUS_OK,
$headers
);
Avoid too many return
statements within this method. Open
Open
return $c->query('ServerContainer')->getAvatarManager();
Avoid too many return
statements within this method. Open
Open
return new DataResponse(
['data' => 'notsquare'],
Http::STATUS_OK,
$headers
);
Avoid too many return
statements within this method. Open
Open
return new TokenController(
$c->query('AppName'),
$c->query('Request'),
$c->query('UserManager'),
$c->query('ServerContainer')->query('OC\Authentication\Token\IProvider'),
Avoid too many return
statements within this method. Open
Open
return $c->query('ServerContainer')->getCache();
Avoid too many return
statements within this method. Open
Open
return new DataResponse(
['data' => ['message' => $this->l->t('Unknown filetype')]],
Http::STATUS_OK,
$headers
);
Avoid too many return
statements within this method. Open
Open
return $c->query('ServerContainer')->getMailer();
Avoid too many return
statements within this method. Open
Open
return new DataResponse(
['data' => ['message' => $this->l->t('Crop is not square')]],
Http::STATUS_BAD_REQUEST
);