Showing 787 of 2,467 total issues
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', '{nFormatted} {n, plural, =1{tebibyte} other{tebibytes}}', $params, $this->language);
Avoid too many return
statements within this method. Open
Open
return Yii::t('yii', '{nFormatted} GB', $params, $this->language);
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return [
$timestamp,
!($info['hour'] === false && $info['minute'] === false && $info['second'] === false),
!($info['year'] === false && $info['month'] === false && $info['day'] === false && empty($info['zone'])),
];
Avoid too many return
statements within this method. Open
Open
return Yii::t('yii', '{delta, plural, =1{a day} other{# days}} ago', ['delta' => $interval->d], $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', '{nFormatted} PiB', $params, $this->language);
Avoid too many return
statements within this method. Open
Open
return Yii::t('yii', '{nFormatted} {n, plural, =1{pebibyte} other{pebibytes}}', $params, $this->language);
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);
Avoid too many return
statements within this method. Open
Open
return Yii::t('yii', '{nFormatted} B', $params, $this->language);
Avoid too many return
statements within this method. Open
Open
return [$this->notInRange, []];
Avoid too many return
statements within this method. Open
Open
return [$this->tooBig, ['max' => $this->max]];
Avoid too many return
statements within this method. Open
Open
return Html::tag($tag, Yii::$app->getI18n()->format($summaryContent, [
'begin' => $begin,
'end' => $end,
'count' => $count,
'totalCount' => $totalCount,
Avoid too many return
statements within this method. Open
Open
return self::TYPE_TIME;
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return new DateTime($value, new DateTimeZone($this->defaultTimeZone));
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);