Showing 172 of 2,467 total issues
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->overWidth, ['file' => $image->name, 'limit' => $this->maxWidth]];
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{an hour} other{# hours}} ago', ['delta' => $interval->h], $this->language);
Avoid too many return
statements within this method. Open
Open
return [$this->ipv4NotAllowed, []];
Avoid too many return
statements within this method. Open
Open
return true;
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 [$this->tooBig, ['max' => $this->max]];
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return self::TYPE_DATE;
Avoid too many return
statements within this method. Open
Open
return $this->fallbackFormat($message, $args, $locale);
Avoid too many return
statements within this method. Open
Open
return Yii::t('yii', '{nFormatted} GiB', $params, $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 Yii::t('yii', '{nFormatted} {n, plural, =1{gigabyte} other{gigabytes}}', $params, $this->language);
Avoid too many return
statements within this method. Open
Open
return Yii::t('yii', '{nFormatted} PB', $params, $this->language);
Avoid too many return
statements within this method. Open
Open
return Yii::t('yii', '{nFormatted} {n, plural, =1{byte} other{bytes}}', $params, $this->language);
Avoid too many return
statements within this method. Open
Open
return Yii::t('yii', '{nFormatted} {n, plural, =1{megabyte} other{megabytes}}', $params, $this->language);
Avoid too many return
statements within this method. Open
Open
return $source;
Avoid too many return
statements within this method. Open
Open
return $this->_content;
Avoid too many return
statements within this method. Open
Open
return $this->translations[$category] = $this->translations['*'] = Yii::createObject($source);