Showing 864 of 1,073 total issues
Avoid too many return
statements within this method. Open
Open
return $condition == $number ? $value : null;
Avoid too many return
statements within this method. Open
Open
return ($number == 1) ? 0 : ((($number == 0) || (($number % 100 > 0) && ($number % 100 < 20))) ? 1 : 2);
Avoid too many return
statements within this method. Open
Open
return 0;
Avoid too many return
statements within this method. Open
Open
return ($number == 0) ? 0 : (($number == 1) ? 1 : (($number == 2) ? 2 : ((($number % 100 >= 3) && ($number % 100 <= 10)) ? 3 : ((($number % 100 >= 11) && ($number % 100 <= 99)) ? 4 : 5))));
Avoid too many return
statements within this method. Open
Open
return ($number == 0) ? 0 : ((($number % 10 == 1) && ($number % 100 != 11)) ? 1 : 2);
Avoid too many return
statements within this method. Open
Open
return ($number == 1) ? 0 : ((($number == 0) || (($number % 100 > 1) && ($number % 100 < 11))) ? 1 : ((($number % 100 > 10) && ($number % 100 < 20)) ? 2 : 3));
Avoid too many return
statements within this method. Open
Open
return $this->toBase()->{$method}(...$parameters);
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return is_numeric($attribute) && is_numeric($original)
&& strcmp((string) $attribute, (string) $original) === 0;
Avoid too many return
statements within this method. Open
Open
return $this;
Avoid too many return
statements within this method. Open
Open
return $this->asTimestamp($value);
Avoid too many return
statements within this method. Open
Open
return $this->getClassCastableAttributeValue($key, $value);
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return new BaseCollection($this->fromJson($value));
Avoid too many return
statements within this method. Open
Open
return $this;
Avoid too many return
statements within this method. Open
Open
return abs($this->castAttribute($key, $attribute) - $this->castAttribute($key, $original)) < PHP_FLOAT_EPSILON * 4;
Avoid too many return
statements within this method. Open
Open
return $this->fromEncryptedString($attribute) === $this->fromEncryptedString($original);
Avoid too many return
statements within this method. Open
Open
return $this->whereNull($column, $boolean, $operator !== '=');
Avoid too many return
statements within this method. Open
Open
return $date ?: Date::parse($value);
Avoid too many return
statements within this method. Open
Open
return $this->whereSub($column, $operator, $value, $boolean);