Showing 172 of 2,467 total issues
Avoid too many return
statements within this method. Open
Open
return self::TYPE_DATETIME;
Avoid too many return
statements within this method. Open
Open
return $result;
Avoid too many return
statements within this method. Open
Open
return Yii::t('yii', 'in {delta, plural, =1{a minute} other{# minutes}}', ['delta' => $interval->i], $this->language);
Avoid too many return
statements within this method. Open
Open
return [$this->message, []];
Avoid too many return
statements within this method. Open
Open
return Yii::t('yii', '{delta, plural, =1{a minute} other{# minutes}} ago', ['delta' => $interval->i], $this->language);
Avoid too many return
statements within this method. Open
Open
return $value < $compareValue;
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return [$this->tooBig, [
'file' => $value->name,
'limit' => $this->getSizeLimit(),
'formattedLimit' => Yii::$app->formatter->asShortSize($this->getSizeLimit()),
]];
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return implode('', $tokens);
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return Yii::t('yii', 'in {delta, plural, =1{an hour} other{# hours}}', ['delta' => $interval->h], $this->language);
Avoid too many return
statements within this method. Open
Open
return Yii::t('yii', '{delta, plural, =1{a year} other{# years}} ago', ['delta' => $interval->y], $this->language);
Avoid too many return
statements within this method. Open
Open
return Yii::t('yii', 'just now', [], $this->language);
Avoid too many return
statements within this method. Open
Open
return Yii::t('yii', '{delta, plural, =1{a second} other{# seconds}} ago', ['delta' => $interval->s], $this->language);
Avoid too many return
statements within this method. Open
Open
return Yii::t('yii', '{nFormatted} TiB', $params, $this->language);
Avoid too many return
statements within this method. Open
Open
return $value >= $compareValue;
Avoid too many return
statements within this method. Open
Open
return [$this->wrongCidr, []];
Avoid too many return
statements within this method. Open
Open
return [$this->message, []];
Avoid too many return
statements within this method. Open
Open
return Yii::t('yii', '{delta, plural, =1{a month} other{# months}} ago', ['delta' => $interval->m], $this->language);